Skip to main content
100%

Code Tree Viz from Livestream

✓ Published5🌍 Public
CCurran Kelleher
Last edited May 28, 2024
Created on May 22, 2024
Forked from Circles with D3

This visualization uses a circle packing layout to display the file structure of the Vue Core source code, where each file is represented as a circle sized by its byte size and colored by its file extension. The visualization uses D3's `hierarchy`, `pack`, and `scaleLinear` APIs to compute the layout and map file sizes to circle radii and opacity. The data is fetched from a GitHub Gist containing a JSON snapshot of the repository, and each circle's color is determined by a hard-coded map of file extensions to colors. Hovering over a circle highlights it interactively.

AI-generated description

A circle pack visualization of the Vue Core source code.

Data comes from Gist:File Loading Script.

MIT Licensed

Similar vizzes