Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Menu with D3

Public visualization

Viewing a saved revision (read-only)

354e16f9c5e74b1b85a746d0f6d51000

Fork of Menu with D3

0 stars0🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Menu with D3

The visualization displays revenue by state from 2020 to 2024 as overlapping semi-transparent area charts, with a color-coded legend identifying ten selected Indian states. Built with D3 v7, the code loads CSV data via `d3.text`, filters for specified states, and renders SVG paths using a custom `d3.area()` helper. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while categorical colors come from `d3.scaleOrdinal(d3.schemeCategory10)`. The chart includes labeled axes for year and revenue (USD) plus a title.

AI-generated description