Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Nnkohdatavis
Last edited Jul 23, 2020
Created on Jul 23, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG data set. Red semi-transparent circles encode each car’s values, with axes labeled “Horsepower” and “Weight.” Built with D3 v5, the code uses `d3.csv` for loading, `d3.scaleLinear` with `d3.extent` for scales, and `d3.axisBottom` and `d3.axisLeft` to render gridlines and tick labels. The SVG output includes a title and styled axis text via CSS.

AI-generated description

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

MIT Licensed

Similar vizzes