Skip to main content
100%

interactions

✓ Published0🌍 Public
AAllen Ho
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from HTML Starter

This example shows temperature trends for New York, San Francisco, and Austin over several months, rendered as smooth, animated lines using D3.js v7. SVG paths represent each city’s time series, color-coded via a categorical scale. The visualization supports mouse interactions: hovering a city name highlights its line and dims others, while clicking toggles visibility. A zoom feature, powered by `d3.zoom`, rescales the x-axis to focus on date ranges, with brushed panning enabled. Data is loaded from a tab-separated file and parsed with `d3.timeParse`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes