Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset, with each red, semi-transparent circle representing a vehicle. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, with gridlines via `tickSize`. Data is loaded asynchronously via `csv` and parsed into numeric values before rendering. The SVG output positions circles based on scaled x and y coordinates, while margins and labels are applied through manual transforms and CSS styling.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed