Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Force Layout on Directory Circles

Public visualization

Viewing a saved revision (read-only)

ae78f8de9ee34b42a683010119d2f40b

Force Layout on Directory Circles

0 stars0🌍 Public
EEJ Fox
Last edited May 22, 2024
Created on May 22, 2024

This visualization displays the file structure of a Vue project as a collection of colored circles, each sized according to file size and colored by file extension. The circles are positioned using d3.forceSimulation with forceCollide to prevent overlap, with file names rendered as text labels. Data loads from a remote JSON URL, and the visualization uses D3’s hierarchy to parse the nested structure before rendering circles and text in an SVG.

AI-generated description