Skip to main content
100%

Long Trip Data (LGA-Airport as the destination)

✓ Published1🌍 Public
JJIAHAO LAI
Last edited Dec 15, 2022
Created on Dec 15, 2022

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes