Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

IC8 - Bhavya - Tree Graph

Public visualization

Viewing a saved revision (read-only)

e04bddd65a3d49269c5fef7bff1155ec

IC8 - Bhavya - Tree Graph

0 stars0🌍 Public
Bbhavyapokuri123@gmail.com
Last edited Apr 2, 2024
Created on Apr 1, 2024

This tree graph visualizes ICRISAT agricultural data grouped by two Indian states, Telangana and Kerala, with each district branching into crop-related metrics such as Chickpea Area or Fruits Area. Built with D3.js v7, it uses the `d3.tree()` layout to arrange a hierarchical structure, rendering nodes as circles and links as green lines in SVG. The data is fetched as CSV from a GitHub gist and parsed with `d3.csvParse`, while node labels and ties are styled via the `d3.select` API and CSS.

AI-generated description