Area graph for sleping time and population
✓ Published1🌍 Public
This area graph visualizes the relationship between sleeping hours and age group count, using a smooth curve to show the distribution across the dataset. The chart combines a purple filled area with a black stroke line, with axes labeled for sleeping hours and age group count. It uses D3.js v5, specifically the `area`, `line`, `scaleTime`, and `scaleLinear` APIs, to generate the SVG rendering. The data is loaded from a CSV file hosted on GitHub Gist, with both the area and line paths created using the `curveBasis` interpolation for smooth transitions.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed