Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

6d5503ec4be5456eb2ad07745d5138fe

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

0 stars3🌍 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