Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Area graph for sleping time and population

Public visualization

Fork of Fork of Area graph for sleping time and population

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed