Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tree Graph

Public visualization

Fork of Tree Graph

0 stars1🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Apr 1, 2024
Created on Apr 1, 2024
Forked from 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

Comments

Sign in to join the discussion.

MIT Licensed