🌍 Public
Viewing a saved revision (read-only)
c82c351e48c14e8494fc615d8b193d8f
Project Iteration Week 9
A scatter plot compares the number of sightings against a user-selected weather variable, where each point is colored by precipitation type or season. Built with React and D3 v7, the chart uses D3's `bin` function to aggregate data into histogram bins, with axes, labels, and a legend rendered via `axisBottom`, `axisLeft`, and SVG elements. Animated rain and snow effects are generated with custom `requestAnimationFrame` loops, and a trendline toggle overlays a statistical line. The data comes from a CSV file with location, date, and weather details.
AI-generated description