Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Ccyanea1
Last edited Sep 25, 2019
Created on Sep 25, 2019
Forked from Cars 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. Each red, semi-transparent circle represents a car, with its position determined by the `d3.scaleLinear` scales mapping horsepower and weight values. The SVG rendering includes labeled axes with gridlines, created using `d3.axisBottom` and `d3.axisLeft`. The code loads data via `d3.csv`, converts numeric fields, and appends circles to the chart with a title, demonstrating a clear positive correlation between the two variables.

AI-generated description

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

MIT Licensed

Similar vizzes