Skip to main content
100%

ICE-7: Area Chart

✓ Published1🌍 Public
IIndiraSiripurapu
Last edited Mar 26, 2023
Created on Mar 25, 2023
Forked from D3 Starter

This area chart visualizes Apple’s revenue over a 20-year period, filtered to a subset of data points. The chart uses D3 v5 with `d3.area` and `d3.line` generators, both smoothed with `curveBasis`, to render the filled region and outline. Axes are created via `d3.axisLeft` and `d3.axisBottom`, with time-scaled x-values from `d3.scaleTime` and linear y-values from `d3.scaleLinear`. Data is loaded from a CSV file, parsed with `d3.timeParse`, and rendered as SVG elements within a styled HTML page.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes