Skip to main content
100%

Assignment 8: Brushing (with filtering)

✓ Published0🌍 Public
Aamrubal
Last edited Apr 4, 2022
Created on Apr 4, 2022

This visualization displays daily temperature records for New York, San Francisco, and Austin from October 2011 to April 2012. Three colored lines represent each city, with a legend and hover interactions that highlight individual series while dimming others. Users can click a city label to hide or show its corresponding line, filtering the display. Built with D3 v7 and React, the code uses d3.tsv for data loading, d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal for scales, d3.line with curveBasis for path generation, and d3.axisBottom for the time axis.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes