🌍 Public
Viewing a saved revision (read-only)
8238a0e9bd464dee8ce770b19386149c
Scatter Plot Take 2
This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset. The visualization uses D3 v5's `select`, `csv`, `scaleLinear`, and `extent` functions to load and scale the data, while `axisBottom` and `axisLeft` render gridlines and labels. Circles are positioned using the scaled x and y values, with styling applied via SVG and CSS. The plot demonstrates a quantitative comparison, showing how these two attributes correlate across the dataset's vehicles.
AI-generated descriptionD3 course follow along.