π Public
Fork of Fork of Area graph for sleping time and population
Aajaysonu
Last edited Apr 9, 2023
Created on Apr 9, 2023
This area chart visualizes the relationship between sleeping hours and age group population counts, with the x-axis mapping sleeping time and the y-axis showing age group values. The chart renders a smooth purple area beneath a black line, using d3.area and d3.line with curveBasis interpolation. Data is loaded via d3.csv from a GitHub-hosted CSV file, while d3.scaleTime and d3.scaleLinear handle axis scaling, and d3.axisBottom and d3.axisLeft generate labeled axes.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.