Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for 392 cars from the UCI Machine Learning Repository’s Auto MPG dataset. Using D3 v5, the code loads the CSV data, parses numeric fields, and renders red, semi-transparent circles via SVG. It employs `scaleLinear` with `.nice()` for axis scaling, `axisLeft` and `axisBottom` for ticks and grid lines, and appends axis labels and a title. The plot highlights the positive correlation between the two variables.