🌍 Public
Viewing a saved revision (read-only)
118574624d7c4a84a6bea690ca3bb9e4
Fork of Fork of Fork of Fork of Reusable D3 Scatter Plot
VVignesh Nallamothu
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of Fork of Fork of Reusable D3 Scatter Plot
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