Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

My - Tree 2

Public visualization

My - Tree 2

0 stars0🌍 Public
TTMorgan99
Last edited Jan 21, 2020
Created on Jan 21, 2020
Forked from My - Tree

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 description

Comments

Sign in to join the discussion.

MIT Licensed