ICE 6: Scatter Plot Showing Life expectancy vs Happiness Score Scatter Plot
✓ Published1🌍 Public
This scatter plot visualizes the relationship between life expectancy and happiness score for countries in the 2017 World Happiness Report, with each semi-transparent purple circle representing a country. The code uses D3 v5’s `csv` loader to fetch the dataset and `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to map the values and render axes with gridlines. The SVG rendering includes labeled axes and a title, while CSS controls circle opacity and text styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
MIT Licensed