Skip to main content
100%

Production of Rice-saranya

✓ Published0🌍 Public
MMalempatiSaranya
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from HTML Starter

This visualization presents rice production across Indian states using a donut chart, with each segment sized proportionally to production values. The chart employs D3.js v4 to generate SVG paths via the `d3.arc` and `d3.pie` functions, while a custom legend and interactive hover tooltips reveal state names and production numbers. Data originates from a CSV file loaded asynchronously through React’s `useEffect` hook, with the top 10 records displayed. The visualization uses a color scale from `d3.schemeCategory10` and incorporates mouseover effects that adjust opacity and show contextual information.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes