🌍 Public
Viewing a saved revision (read-only)
be78e86b7dca46b48d2a29d63122372f
Car Acceleration versus Weight Scatter Plot.
This scatter plot visualizes the relationship between car weight and acceleration, with each circle representing a vehicle from the auto-mpg dataset. The visualization uses D3 v5's `scaleLinear`, `axisBottom`, and `axisLeft` APIs to map the data points onto an SVG canvas. The plot includes labeled axes and a title, with circles rendered at a fixed radius using the `selectAll` and `enter` pattern. The data is loaded asynchronously via the `csv` function and parsed into numeric values for weight and acceleration.
AI-generated descriptionThis scatter plot shows the Car's acceleration v.s. weights.