Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
JJared Tanner
Last edited Apr 27, 2020
Created on Apr 27, 2020
Forked from Cars Scatter Plot

This scatter plot displays the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Each red circle represents a car, with its position determined by the d3.scaleLinear scales mapping horsepower to the x-axis and weight to the y-axis. The code uses d3.csv to load the data, d3.axisBottom and d3.axisLeft for the labeled axes, and d3.extent to compute the domain. The SVG rendering includes custom axis labels and a title, with circle opacity set via CSS.

AI-generated description

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

MIT Licensed

Similar vizzes