Skip to main content
100%

Fork of d3-simple-slider

✓ Published1🌍 Public
Mmayuri-gosapphire
Last edited Aug 2, 2021
Created on Jul 24, 2021
Forked from d3-simple-slider

This example displays earthquake data from 2000–2015, showing counts of tremors across magnitude ranges (5.0–5.9, 6.0–6.9, 7.0–7.9, and 8.0+) as a multi-line chart. It uses d3.scaleLinear and d3.line with curveCatmullRom to render smooth paths, with axes generated by d3.axisBottom and d3.axisLeft. A draggable d3-simple-slider control, built with d3.drag, lets users filter the time range. The chart is drawn as SVG and styled with CSS, with data parsed from a CSV file.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes