Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

My - Tree

Public visualization

My - Tree

0 stars1🌍 Public
TTMorgan99
Last edited Jan 21, 2020
Created on Jan 17, 2020

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

Comments

Sign in to join the discussion.

MIT Licensed