Skip to main content
100%

Anv_ICE-7 Area Chart

✓ Published1🌍 Public
AAnvesh Chinta
Last edited Mar 30, 2023
Created on Mar 30, 2023

This area chart visualizes yearly PlayStation console sales in millions of units, using a green line with a light blue filled area beneath it. The x-axis maps time with `d3.scaleTime` and the y-axis uses `d3.scaleLinear`, with tick formatting via D3’s `format('.3s')` for abbreviated numbers. Data is loaded from a CSV using `d3.csv` and parsed with `d3.timeParse` to convert years into date objects. The chart employs D3 v5 to generate SVG paths with the `d3.line` and `d3.area` generators, smooth curves via `curveBasis`, and gridlines from axis ticks.

AI-generated description
MIT Licensed

Similar vizzes