Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Aaidanoconnor1
Last edited Dec 3, 2019
Created on Dec 3, 2019
Forked from Cars Scatter Plot

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, allowing users to explore relationships between car attributes by selecting the x-axis variable via a dropdown menu. The y-axis remains fixed to weight. Built with D3 v5, the visualization uses `d3.scaleLinear` for scales, `d3.axisBottom`, `d3.axisLeft`, and SVG rendering to display circles with a fixed radius of 10 pixels. The dropdown is implemented through a reusable `downDownMenu` function, while the plot itself is rendered by a `skatterPlot` function that appends axes, grid lines, and labels.

AI-generated description

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

MIT Licensed

Similar vizzes