🌍 Public
Viewing a saved revision (read-only)
99e763c7ed4344928abc0b8436c8417b
MPG Scatter Plot, Color & Interactive Legend
This scatter plot displays vehicle MPG highway ratings against a selected attribute, with each point colored by car make. Users can change the y-axis attribute via a dropdown menu. The interactive color legend highlights points of a specific make on mouse hover while fading others. Built with React and D3 v6, it uses `scaleOrdinal` for color mapping, `scaleLinear` for axes, and SVG circles with tooltips for data inspection.
AI-generated descriptionPlaying with a scatter plot! Currently having trouble formatting my tooltips and the excessively long legend.