🌍 Public
Viewing a saved revision (read-only)
411d94df593f4fcf808e116b26d9abf9
Cars Scatter Plot
This scatter plot visualizes the relationship between acceleration and horsepower for cars from the auto-mpg dataset. D3’s scaleLinear, axisBottom, and axisLeft functions map the quantitative values, while circles are appended to an SVG container. The code loads CSV data via d3.csv, converts numeric fields, and uses margin-based layout with tick marks and axis labels. Red translucent circles reveal density, with axes formatted using d3.format and a title added manually.
AI-generated descriptionScatter Plot from data about cars