Skip to main content
Public

Share visualization

Loading preview…

Production of Rice-saranya

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Production of Rice-saranya

0
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.

Comments

Sign in to join the discussion.

MIT Licensed