Skip to main content
100%

Cars Scatter Plot with Menu

✓ Published0🌍 Public
Yylzami40
Last edited Dec 1, 2019
Created on Dec 1, 2019

This interactive scatter plot visualizes car characteristics from the UCI Auto MPG dataset, displaying weight on the y-axis while allowing users to select the x-axis attribute from a dropdown menu of data columns. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear`, `axisLeft`, `axisBottom`, and circle elements to plot each car. A dropdown menu built with a reusable `dropdownMenu` function updates the x-axis scale and re-renders the scatter plot when the user changes the selected column, highlighting relationships like horsepower versus weight.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes