Skip to main content
100%

Fork of Area Chart

✓ Published0🌍 Public
Rrohinikotha
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Area Chart

This is a fork of an area chart that visualizes electronic sales from 2013 to 2021. The chart combines a black line and a green filled area beneath it, with both rendered as SVG paths using D3 v5’s `line` and `area` generators with `curveBasis`. The x-axis maps years parsed via `d3.timeParse`, while the y-axis shows sales values formatted with `.3s`. Axes are created with `axisBottom` and `axisLeft`, and scales use `scaleTime` and `scaleLinear`. Data is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes