Skip to main content
100%

scatterplot

✓ Published1🌍 Public
VVignesh Nallamothu
Last edited Mar 25, 2025
Created on Mar 24, 2025
Forked from barplot

This scatter plot visualizes the relationship between sleep duration in hours and age in years, with each blue circle representing an individual data point. The chart plots sleep duration along the x-axis and age along the y-axis using d3.scaleLinear for both scales, rendering circles as SVG elements through d3.selectAll and data binding. Axes are generated with d3.axisBottom and d3.axisLeft, while data is loaded asynchronously from a CSV file via d3.csv from a GitHub gist.

AI-generated description
MIT Licensed

Similar vizzes