🌍 Public
Viewing a saved revision (read-only)
6a4ccc0c5d014fc3b4ed6766ca8c4a83
Cars Scatterplot
This scatterplot displays the relationship between horsepower and weight for cars in the Auto MPG dataset from the UCI Machine Learning Repository. Red, semi-transparent circles represent individual cars, with each point positioned using d3.scaleLinear for both axes. The chart includes labeled axes and a title, rendered as SVG elements. The code uses d3.csv to load data, converts numeric fields, and appends circles via data binding with d3-selection’s enter method.
AI-generated descriptionThis scatterplot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.