Skip to main content
100%

Fork of Fork of Fork of Area Chart

✓ Published0🌍 Public
PPrathyusha0304
Last edited Mar 28, 2022
Created on Mar 28, 2022

This chart shows ten years of car sales as a single black line with a filled area beneath it, using smoothed curves via `d3.curveBasis`. The visualization loads a CSV from a GitHub gist, parsing the year and sales columns, then renders the axes and marks as SVG paths. It uses `d3.scaleTime` and `d3.scaleLinear` to map data, and `d3.axisBottom` and `d3.axisLeft` for grid lines and tick labels. The chart is generated entirely with D3 v5 and rendered as SVG within a centered HTML layout.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes