Skip to content

Instantly share code, notes, and snippets.

@smithaam
Created December 23, 2016 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smithaam/2d0cd47acd1b1fcfd83dcd689087e7e9 to your computer and use it in GitHub Desktop.
Save smithaam/2d0cd47acd1b1fcfd83dcd689087e7e9 to your computer and use it in GitHub Desktop.
Visualization-Income Levels
#Based on Income Group
cmp=filter(gpiplot,gpiplot$CountryCode %in% c("HIC","HPC", "LDC","LIC","LMC","LMY","MIC","UMC"))
g <- ggplot(data=cmp, aes(x=Year, y=GPI))
g+geom_line(aes(color=CountryName)) +labs(color="Income Levels")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment