Fork of Fork of Line Chart by Tejaswi_Tummala
✓ Published0🌍 Public
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 descriptionMIT Licensed