Skip to main content
100%

Fork of a model

✓ Published0🌍 Public
JJavaDummy4
Last edited Dec 21, 2021
Created on Dec 21, 2021
Forked from a

This visualization presents a hierarchical dataset as an indented tree layout rendered with SVG. The root node, labeled "bruh," branches into a deep structure of numeric values, and each node displays its name as text with a font size that decreases with depth. The code uses d3.hierarchy and d3.tree to compute the layout, while linkHorizontal generates the curved paths connecting parent and child nodes. Pan and zoom interactions are enabled through d3.zoom, applying transforms to a group element. The styling uses a green stroke for links, a serif font, and text shadows for readability. Data is loaded from the JSON file data.json.

AI-generated description
MIT Licensed

Similar vizzes