Fork of Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between a country's happiness Score and its perceived corruption level, using data from the World Happiness Report. Each red circle represents a country, positioned by its Score on the x-axis and corruption value on the y-axis. The code uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the chart, with SVG rendering. It loads the `happiness.csv` file via `csv`, maps numeric fields, and applies margins, axis labels, and a title within the SVG canvas.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed