Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Line Chart by Tejaswi_Tummala

Public visualization

Viewing a saved revision (read-only)

7d18042c1242426fa13b64b4f05a09ed

Fork of Fork of Line Chart by Tejaswi_Tummala

0 stars0🌍 Public
Tttummala17
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from D3 Starter

This chart visualizes Tesla sales in the USA from January 2021 to February 2022, using an area chart to emphasize the trend in monthly sales figures. The visualization is built with D3.js (v7) within a React framework, leveraging `scaleTime` and `scaleLinear` for the axes, and `area` with `curveBasis` to generate the filled region beneath the line. The data is loaded via a CSV file hosted on GitHub, with sales values parsed as numbers and dates as Date objects. The chart includes styled axes with tick marks, labels, and a custom title.

AI-generated description