Fork of Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Red semi-transparent circles mark each vehicle, with axes labeled accordingly. The visualization uses D3 v5 with d3.csv, d3.scaleLinear, d3.extent, d3.axisBottom, and d3.axisLeft to map the data, render SVG circles, and draw gridlines and labels. The code imports specific functions from D3 via ES modules and formats the chart with custom margins, tick styling, and a title.