Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICRISAT District Level Data - Rice Production BarChart

Public visualization

Viewing a saved revision (read-only)

f246690c060c4872b9df1e945e6cb607

Fork of ICRISAT District Level Data - Rice Production BarChart

0 stars0🌍 Public
PPothuguntla Pranitha
Last edited Apr 26, 2024
Created on Apr 26, 2024

This bar chart visualizes total rice production across Indian states using data from the ICRISAT District Level Dataset. Each bar represents a state, with height encoding production volume and a custom purple-grey color scale distinguishing states. Hovering over a bar triggers a D3 tooltip showing the state name and cumulative production value. The visualization uses d3.csv for asynchronous data loading, d3.rollup for aggregation, and d3.scaleBand and d3.scaleLinear for axes and positioning, with SVG rendering and event-driven transitions.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.