Skip to main content
100%

Fork of Area Death's

✓ Published1🌍 Public
GGogineni44
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Area Death's

This fork of "Area Death's" displays a single area chart from a CSV dataset, plotting average life expectancy against a time series of years. The chart uses D3 v5’s `select`, `scaleTime`, `scaleLinear`, `axisLeft`, and `axisBottom` to construct the SVG axes, while the `area` generator with `curveBasis` and explicit `y0`/`y1` settings fills the orange region below the line. The reduced data, sourced from Data Canvas - Sense Your City, is parsed by converting the year string into a `Date` object and the life-expectancy values into numbers, with the final graphic rendered in an SVG canvas and styled via the `styles.css` class definitions.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video:

MIT Licensed

Similar vizzes