🌍 Public
Viewing a saved revision (read-only)
4f9cd11543294fed83512218e6ff46a7
My - Tree
This visualization shows recipes from a farm-building game as a network of connections between ingredients, products, and buildings. The code reads a CSV file with d3.csv and uses d3.forceSimulation with forceLink, forceManyBody, forceX, and forceY to position nodes, while d3.select and .attr render SVG circles and lines. Although the current script is incomplete and partially commented out, it lays out the foundation for a force-directed graph where each ingredient links to the products it is used in, as shown in the building.csv data file.
AI-generated description