Explore the Visualization

The circle-packing visualization used earlier is based on an algorithm from D3.js,[14] a JavaScript library based on data-driven documents. We won’t dig deeper into D3.js, as that is enough material for a book of its own. Instead, we’ll explore a ready-made visualization.

Before we start, I want to remind you that the strategies we are learning in this book don’t depend on specific tools. D3.js is just one of the many ways to visualize the code. Other options include:

  • Spreadsheets: Since we’re using CSV as the output format, any spreadsheet application lets you visualize the results from Code Maat. Spreadsheet applications are great for processing your analysis results (for example, sorting and filtering the resulting ...

Get Your Code as a Crime Scene now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.