Export Image
Export Code

HDI Scatter Plot With Color

Spencer McAvey

Last edited Mar 24, 2023
Created on Feb 23, 2023
Forked from HDI Scatter Plot

A simple scatterplot of the HDI dataset with colors applied to reflect the UNDP developing region: https://gist.github.com/smcavey/5f819b6d6a270c6de339532a592399d4 Comparing mean life expectancy at birth in the year 2021 (x) vs. gross national income per capita in the year 2021 (y). Pretty clear trend. Added opacity so its easier to visualize dense clusters. Information on the outliers would be nice, such as using a mouse hover to see the country name. UNDP developing regions have been specified via color and the index to be able to identify potential groupings by region.

MIT Licensed