Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart

Public visualization

Viewing a saved revision (read-only)

8845af874ca2467aba38fa5fac3f7d1d

line chart

0 stars1🌍 Public
AAparna Desi Reddy
Last edited Mar 25, 2026
Created on Mar 25, 2026
Forked from HTML Starter

A line chart displays electric vehicle sales growth over time, plotting yearly sales in thousands as a steelblue line with circular markers on an SVG canvas. The visualization loads CSV data from a GitHub gist and scales the x-axis by year and y-axis by sales volume using d3.scaleLinear, with axes generated via d3.axisBottom and d3.axisLeft. A d3.line generator constructs the path, while d3.csv handles data parsing and d3.extent computes the domain.

AI-generated description