My - Tree 2
✓ Published0🌍 Public
This visualization displays a hierarchical network of production relationships from a farming game’s building.csv dataset. Nodes represent ingredients and products, while links connect each product to its required resources. Using d3.forceSimulation with SVG rendering, the code constructs a directed graph where paths show dependency chains from basic ingredients like wheat and eggs up to finished goods. The layout leverages force-directed physics to organically position interconnected nodes, with curved links and labeled text styled by Playfair Display. D3 v5’s csv parsing and lodash support the data transformation into node-link structures.
AI-generated descriptionMIT Licensed