Skip to main content
100%

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

✓ Published1🌍 Public
Bbhargavinalamothu@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

A line chart shows sleep duration in hours for 17 named individuals, with each name on the x-axis and duration from 0 to 9 on the y-axis. The SVG visualization uses d3.scalePoint for the categorical x-axis, d3.scaleLinear for the numeric y-axis, and d3.line to generate the path connecting data points. Axes are rendered with d3.axisBottom and d3.axisLeft, with rotated bottom labels for readability. The chart's static dataset lists names and sleep durations directly in code, styled with steelblue strokes and labeled axes.

AI-generated description
MIT Licensed

Similar vizzes