Viewing a saved revision (read-only)
818d1fc9682441cdbb8a9987e3fbf304
Global Data Scatter Plot
This scatter plot visualizes the relationship between GDP per capita and average life expectancy across countries, using circles colored by region from a Global Data dataset. Users can hover over the legend to highlight matching data points or click to toggle entire regions’ visibility, with opacity changes facilitating comparison. The visualization leverages d3.scaleOrdinal for color mapping, d3.scaleLinear for axes, and custom d3 axis-label helpers from @curran/axis-labels, rendering SVG circles with region-based classes.
AI-generated descriptionA simple scatter plot of my World Happiness dataset
This scatter plot visualizes the correlation between a country's healthy life expectancy and GDP per capita. This scatter plot suggests that there is a positive relationship between a country's life expectancy and GDP!