Skip to main content
100%

Fork of Fork of Area graph for sleping time and population

✓ Published0🌍 Public
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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes