🌍 Public
Viewing a saved revision (read-only)
f7e3909c9a144ed0baf919f44e81da57
Cars Scatter Plot
This scatter plot visualizes the relationship between weight and acceleration for cars from the Auto MPG Data Set, with each circle representing a vehicle. The chart uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to map data to SVG circles, with gridlines and labeled axes. The code loads CSV data via `d3.csv`, converts numeric fields, and renders the plot through an SVG container. Axis labels and a title use D3’s text append method, while styling is handled through CSS.
AI-generated descriptionThis scatter plot shows data about cars. The data comes from Auto MPG Data Set - UCI Machine Learning Repository.