🌍 Public
Viewing a saved revision (read-only)
a4f9bbcd076c4bf19c6f0a1cd5b7f405
shish's multiseries line and combined chart
This example presents two linked visualizations of a sleep health dataset: a multi-series line chart and a combined chart. The line chart plots Age against Sleep Duration, Stress Level, and Daily Steps using d3.line with d3.scaleLinear axes, while colored dots and tooltips show exact values. The combined chart reuses the same scales and color encoding to display the data differently. The code loads data via d3.csv, applies SVG rendering, and includes interactive mouseover events with tooltip transitions.
AI-generated description