Recently, I’d seen two tweets with stunning examples of maps by Paul Campbell here and (taken inspiration from the first) by Imer Muhović here.
The basic idea of the dot chloropleths is to visualise not only the location clustering of each variable but the number of observations (something traditional ‘filled’ chloropleths don’t do). More importantly than this, the maps also just look really really cool.
I had a spare few minutes during work on Friday which I tidied up into a package to calculate the random position of dots for such maps which can be found on my github.
I’ve been looking for small programming problems to practice on while running experiments. One such source is Fivethirtyeight’s Riddler column which posts conundrums weekly. This week one problem focus on one of life’s universal problems: how many urinals are needed in any bathroom for all patrons to use it without awkwardness.
Formally this is phrased as:
Some number, N, of people need to pee, and there is some number, M, of urinals in a row in a men’s room.
Finally gotten around to using my blogdown website!
Feels like a fairly good place to publicise a small package to plot chess games using only the pgn using ggplot2 in R which can be found here
To copy the readme mini-vignette provides a nice overview of the uber-function which goes from pgn -> gif.
As in the README massive thanks and inspiration to Joshua Kunst and his rchess package which I failed to get going on my laptop and decided to try my arm at writing something from scratch.