Skip to main content
100%

Fork of Code Tree Viz from Livestream

✓ Published0🌍 Public
NNita
Last edited May 24, 2024
Created on May 24, 2024

This visualization presents a file structure as a circular packing diagram, with each file and directory represented by a circle sized according to its file size. It uses D3’s `hierarchy` and `pack` layout to compute positions, while a `scaleLinear` maps circle radii to font sizes for labels. File types are color-coded via a custom JavaScript object, with `fillColors` mapping extensions to specific colors, applied to circles filtered by file status. The data originates from a Vue Core repository gist, loaded via `fetch`, and renders in Svelte with SVG, using hover effects to increase circle opacity.

AI-generated description
MIT Licensed

Similar vizzes