Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart For Car sales

Public visualization

Viewing a saved revision (read-only)

2abe6634cd524ac589043ae7d379c5a5

Fork of Area Chart For Car sales

0 stars0🌍 Public
GGARIDIDEEKSHITHREDDY
Last edited Mar 29, 2022
Created on Mar 29, 2022

This chart visualizes car sales from 2013 to 2021, combining a smooth line and a filled red area to show sales trends over time. The data is loaded from a CSV file and parsed with `d3.csv` and `d3.timeParse`. The visualization uses `d3.scaleTime` and `d3.scaleLinear` for axes, with `d3.line` and `d3.area` generators employing `d3.curveBasis` for smoothing. SVG rendering includes gridlines, axis labels, and formatted tick values using `d3.format`.

AI-generated description

combined line and area charts