Skip to main content
100%

Fork of Fork of Fork of Line Chart by Tejaswi_Tummala

✓ Published0🌍 Public
Tttummala17
Last edited Jul 2, 2022
Created on Jul 2, 2022

This chart visualizes Tesla sales in the USA from January 2021 to February 2022, with months on the x-axis and sales figures in thousands on the y-axis. It uses React to manage state and render the SVG, fetching data from a CSV hosted on GitHub Gist. The visualization employs d3.scaleTime and d3.scaleLinear for axes, d3.line with a curveBasis interpolation to draw the smooth line, and d3.csv for data loading. Custom React components render the axes and the line path.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes