Fork of Area Chart of Uk Population
✓ Published0🌍 Public
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 descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed