Skip to main content
100%

Fork of Fork of Fork of Fork of Reusable D3 Scatter Plot

✓ Published3🌍 Public
VVignesh Nallamothu
Last edited Apr 1, 2025
Created on Apr 1, 2025

This chart visualizes the sleep duration in hours for a list of seventeen named individuals, with each name plotted along the x-axis and its corresponding duration on the y-axis. A single steelblue line connects the data points to reveal the variation across the group. The visualization is built with D3.js v6, using `d3.scalePoint()` for the categorical name axis and `d3.scaleLinear()` for the numeric duration axis. The line is generated with `d3.line()` and rendered as an SVG path, with rotated x-axis labels for readability.

AI-generated description
MIT Licensed

Similar vizzes