Use little images as the markers in a scatterplot

[This article was first published on Robert Grant's stats blog » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Just saw this post on R-bloggers which has got me excited. I’ve thought about this many times but never looked into it so I can’t honestly say whether this is the first stats software option to do this, despite my occasional throw-away statement to students that they could use little icons as markers.

Flag space in R

Avoiding clutter will be the key consideration. Note in this example that the flags have been drawn in alphabetical order so that those early on in the alphabet have been obscured in some instances. If some have to be obscured then it might be fairer to plot in ascending population order instead. Nice to see my childhood home Swaziland making an appearance though.

To leave a comment for the author, please follow the link and comment on their blog: Robert Grant's stats blog » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)