Fork of ICRISAT District Level Data - Rice Production BarChart
✓ Published0🌍 Public
Wwanghaili628@gmail.com
Last edited Sep 26, 2025
Created on Sep 26, 2025
This bar chart visualizes the total rice production across Indian states using ICRISAT district-level data, aggregated with d3.rollup and d3.sum. It renders an SVG with d3.scaleBand and d3.scaleLinear, applying a custom purple-grey ordinal color scale per state. Interactive tooltips display rounded production totals on mouseover, while axes and labels are generated via d3.axisBottom and d3.axisLeft. The chart uses d3.v7 and includes hover transitions for user engagement.
AI-generated descriptionMIT Licensed