Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for 398 cars from the UCI Machine Learning Repository’s Auto MPG data set. Red, semi-transparent circles represent individual vehicles, with axis labels and a title clarifying the variables. The code uses D3 v5’s `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` functions to load data, scale values, and render SVG axes and circles. Gridlines are drawn using tick sizes that span the plot’s inner dimensions.