Use little images as the markers in a scatterplot

October 17, 2012

(This article was first published on Robert Grant's stats blog » R, and kindly contributed to R-bloggers)

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. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


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)