🌍 Public
Viewing a saved revision (read-only)
0640d0a5fe42474aa9592e581cc76c2e
Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository Auto MPG dataset. Each car is represented by a semi-transparent red circle, with positions determined by scaled linear axes for both variables. The code uses d3.csv to load the data, d3.scaleLinear for axis scaling, and d3.axisBottom and d3.axisLeft to render the labeled axes. The SVG is 960 by 500 pixels, and axis labels and a title are added as SVG text elements.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.