MPG Scatter Plot, Color & Interactive Legend
✓ Published0🌍 Public
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.
MIT Licensed