🌍 Public
Viewing a saved revision (read-only)
886c40dfa48c4de5bfb38a3179b0e1ad
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 descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.