🌍 Public
Viewing a saved revision (read-only)
2ee6353788a94d52803c6351a13fd37e
Long Trip Data (LGA-Airport as the destination)
A scatter plot visualizes long trip data from LGA Airport, plotting trip distance on the x-axis against pickup hour on the y-axis, with points colored by weekday. Built with React and D3 v5, it uses `scaleLinear` for both axes, `scaleOrdinal` for color encoding, and SVG circles for marks. Hovering a legend item filters and highlights matching points while fading others, implemented through `useState` and conditional opacity.
AI-generated descriptionA scatter plot of The Iris Dataset.