🌍 Public
Viewing a saved revision (read-only)
95d4279ac52b4d5487b1e11746320b70
Fork of Tree Graph
This interactive tree graph visualizes crop production data from ICRISAT, showing a hierarchy of states, districts, and four crops (Rice, Wheat, Kharif Sorghum, and Rabi Sorghum) with their production values in 1000 tons. The visualization uses D3.js v7 to render an SVG-based tree layout, with paths representing links and circles for nodes. Data is loaded from a remote text file and processed using `d3.csvParse` and `d3.hierarchy`, while custom logic aggregates production values for duplicate districts. The graph includes manually defined additional links to expand the tree structure beyond the initial data.
AI-generated description