Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

d9839254e5fa41ac8eedda3c7565940c

Area Chart

0 stars2🌍 Public
RRavi Teja Bonam
Last edited Mar 29, 2022
Created on Mar 24, 2022
Forked from Line Chart

This area chart displays annual US automotive sales from 2005 to 2022, with dates on the x-axis and sales numbers on the y-axis. Using D3 v5, the code loads CSV data and renders an SVG with `d3.scaleTime` and `d3.scaleLinear` for scales, `d3.axisLeft` and `d3.axisBottom` for axes, and `d3.area` with `curveBasis` to generate the filled path. The chart includes labeled axes and a title, with data sourced from a GitHub gist.

AI-generated description