VZCode Source Tree
✓ Published1🌍 Public
This circle pack visualization displays the file structure of the VZCode source code, a React-based code editor. It uses a d3 hierarchy and pack layout to represent directories and files as nested circles, with circle size proportional to file size and color encoding file types. The data is loaded as JSON from a GitHub Gist snapshot of the repository. The rendering includes interactive zoom via d3’s zoom behavior, and labels are placed inside circles using a computed memoization utility.
AI-generated descriptionA circle pack visualization of the VZCode source code. VZCode is the open source editor used in VizHub.
Overview of the VZCode codebase.
testhas some unit tests and lots of sample files. These sample files open in VZCode when you runnpm run devsrc/clienthas the front end code, which is the majority of the project. This uses React and CodeMirror to create the editor environment.src/serverhas the server-side code, which reads the file system on start, write to the file system on code changes, and synchronizes changes between clients using ShareDB
Data comes from Gist:File Loading Script.
MIT Licensed