Skip to main content
100%

Cars Scatter Plot with Menu

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

This interactive scatter plot visualizes the relationship between weight and various car attributes from the UCI Auto MPG dataset. A dropdown menu allows users to select which attribute (e.g., horsepower, acceleration) appears on the x-axis, while weight remains on the y-axis. The visualization uses d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and d3.csv to load the data. Red semi-transparent circles are rendered as SVG elements, with axis labels and a title updated dynamically.

AI-generated description

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

MIT Licensed

Similar vizzes