Fork of Cars Scatter Plot
This scatter plot visualizes happiness scores against levels of social support for countries worldwide, using data from the UCI Machine Learning Repository’s Auto MPG dataset loaded via D3’s `csv` method. Each circle represents a country, positioned by its happiness score (x-axis) and social support index (y-axis), with axes generated using `axisBottom` and `axisLeft`. The SVG rendering includes gridlines, axis labels, and a title, while circles use a semi-transparent purple fill. The implementation leverages `scaleLinear`, `extent`, and `scaleLinear` for scaling, and appends circles to the SVG via `select` and `data` joins.