Trabalho Final D3
✓ Published0🌍 Public
11joaorodrigues
Last edited Jun 2, 2021
Created on May 31, 2021
Forked from Fork of Polished Scatter Plot with Menus -mpg
This interactive scatterplot, built with D3 v5 and React, visualizes the auto-mpg dataset, plotting five car attributes (e.g., miles per gallon, horsepower) against each other on selectable X and Y axes. Each point represents a vehicle, colored by its brand according to a categorical color scale shown in the legend. Users can hover over legend entries to highlight points from that brand, and dropdown menus allow them to switch the attributes on each axis. The SVG rendering uses modular React components for the axes, marks, and color legend, with D3’s `scaleLinear`, `scaleOrdinal`, and CSV parsing.
AI-generated descriptionMIT Licensed