Skip to main content
100%

shish's scatterplot- ice6

✓ Published0🌍 Public
SSai Shishir Koppula
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from HTML Starter

This scatterplot visualizes the relationship between sleep duration and stress level, with each point representing a participant. The x-axis shows sleep duration in hours, while the y-axis tracks stress levels. Semi-transparent steelblue circles, each with a radius of five pixels, reveal the distribution and density of data points. Built with D3 v7, the visualization uses `d3.scaleLinear` for both axes, `d3.extent` for domain calculation, and `d3.axisBottom` and `d3.axisLeft` for tick marks. The data comes from a sleep health dataset loaded via `d3.csv`, and the chart is rendered as SVG within a styled HTML page.

AI-generated description
MIT Licensed

Similar vizzes