Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart

Public visualization

Fork of Area Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed