Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart - Mahesh - ICE7

Public visualization

Viewing a saved revision (read-only)

e92f89c291aa4455954666db446d1ce5

Area Chart - Mahesh - ICE7

0 stars0🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This area chart displays revenue trends for five U.S. states—California, New York, Texas, Florida, and Illinois—from 2020 to 2023, with each state represented by a colored, semi-transparent filled area. The visualization uses D3.js v7 to parse a text file of comma-separated values, filter for the selected states, and render the chart as SVG. It employs linear scales for the x- and y-axes, an area generator with a linear curve, and ordinal color scaling via `d3.scaleOrdinal` with `d3.schemeCategory10`. The code explicitly draws axes, a legend, and a title, with data loaded asynchronously using `d3.text`.

AI-generated description

This area chart shows the world population in 2015, from Data Canvas Sense your City