Skip to main content
100%

Timeseries with buttons

✓ Published2🌍 Public
Iindira-antgrvty
Last edited Jan 24, 2023
Created on Jan 23, 2023

A time series line chart displays event counts over time, with three buttons allowing viewers to switch between 15, 30, and 60-day datasets. The visualization uses d3.scaleLinear axes and a d3.line path with smooth transitions, animating both the line and axis updates over 3 seconds via d3.transition. Data comes from CSV files (data15.csv, data30.csv, data60.csv) of the Data Canvas Sense Your City Dataset, with the SVG rendered through D3 v6 and button-driven updates handled through d3.select event listeners.

AI-generated description
MIT Licensed

Similar vizzes