Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Area Chart

0 stars0🌍 Public
HHarishma Nallala
Last edited Jul 3, 2022
Created on Jul 3, 2022

This area chart visualizes the growth of Netflix users from 2001 to 2011, using a pink filled area beneath a black line to emphasize the upward trend. The chart is rendered as an SVG using D3 v5, with the `scaleLinear` function for both the x (Year) and y (Users) axes, and `axisLeft` and `axisBottom` for tick marks. The line and area shapes are generated via `line()` and `area()` with a `curveBasis` for smoothing. Data is loaded from a CSV file and parsed using D3’s `csv` method, with custom tick formatting applied via `format`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed