Skip to main content
100%

Area Chart for car sales

✓ Published0🌍 Public
Sshiiva-surya
Last edited Mar 25, 2023
Created on Mar 25, 2023

This area chart visualizes the increase in car sales over time, using a smooth curve to highlight the upward trend in total sales in USD across multiple years. The example is built with React and D3 v5, leveraging `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `area` and `line` generators with `curveBasis` to render the chart as an SVG. Data is loaded from a CSV file via `d3.csv`, with dates parsed using `d3.timeParse` for the x-axis.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes