Fork of d3-simple-slider
✓ Published1🌍 Public
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 descriptionThis 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