Skip to main content
100%

Fork of Area Chart of Uk Population

✓ Published0🌍 Public
VVineela Reddy
Last edited Apr 9, 2023
Created on Apr 9, 2023

This visualization displays sleep duration across different ages in the UK population, using a smooth curve with an area fill beneath it. The SVG chart, built with D3 v5, maps age on the time-scaled x-axis and sleep duration on the linear y-axis. It uses `d3.area()` and `d3.line()` with `curveBasis` to create the filled curve, alongside `d3.scaleTime`, `d3.scaleLinear`, and axis generators for labels, styling ticks and axes in orange and black.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes