🌍 Public
Viewing a saved revision (read-only)
77daffa6e1844290bf1de7c286c73579
Cars Scatter PLot
This interactive scatter plot visualizes the relationship between car horsepower and weight using the classic MPG dataset. Users can switch the x-axis attribute via a dropdown menu to explore different variables. The visualization is built with React and D3 v5, using `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, with animated SVG circles transitioning over one second. Data is loaded from a CSV file and displayed with axis labels and a title in an SVG canvas.
AI-generated descriptionReact Starter code.