A reworking of Welford and Bossak's graphic showing seasonality of deaths in historical plague outbreaks.
A reworking of Jan DeVries' diagrams showing the best available estimates of the volume of trade in silver in the seventeenth and eighteenth centuries.
A exploration of choropleth maps of the whole world, with animations and interactive versions. The interactive version is best for most users, particularly if they want to zoom in and hover over countries to get details; but the spinning globe is very eye-catching.
Data from the Estimated Household Income Inequality data led by James K. Galbraith, turned into an animated world map in this blog post.
Data from Ministry of Social Development, and explained in New Zealand data on GitHub. This chart is interactive - choose classification of beneficiary to split the data by, and type of chart, and zoom in on a time period.
Data from Statistics New Zealand's New Zealand Income Survey, with modelling by random forests explained in "Filling in the gaps - highly granular estimates of income and population". This chart is interactive - choose a hypothetical combination of variables to see the expected distribution of incomes for that sort of person (who may or may not exist in New Zealand!). Try the full screen version.
Data published by Statistics New Zealand. Read more about how this image demonstrates seasonal adjustment on the fly with X13-ARIMA-SEATS and ggplot2.
Drawn from the New Zealand Census 2013. Read more about these data and network charts. This graphic is interactive - hover over the points, or drag them around the screen.
Drawn from the New Zealand Income Survey 2011 simulated unit record file. Read more about this method of transforming economic data with inconvenient negative and zero values.
Drawn from the New Zealand Income Survey 2011 simulated unit record file. Read more about importing and using this data.
See also this listing of all my blog posts on voting behaviour.
I've developed and keep up to date several forecasting models for the New Zealand 2017 general election. Pictured is the latent voting intention from the Bayesian state space model. It nicely illustrates the importance of correcting for polling firms' "house effects" - under- or over-estimates of the actual election-day vote.
Exploration of the wide range of estimates of intended vote in national polls for the 2016 US Presidential election.
Analysis showcasing methods such as multiple imputation, generalized additive models and the bootstrap, of individual characteristics of party voters in the 2014 New Zealand general election..
Analysis of the 2014 general election in New Zealand with the `nzelect` R package is explained in this post.
Explore the application in full screen.
A polished up version of a popular graphic of how the extent of Arctic sea ice is on the decline, described in this post.
Animated comparison of data from the same structural model but differing random components, with linear models fit as the sample size increases, explained in this post on linear models with a time series component.
Animated demonstration of how a single white noise series forms the basis of auto-regression, moving average, and integration to form a complex time series. Explained in this post.
My ggseas package for R allows you to easily incorporate seasonal adjustment and seasonal decomposition into an exploratory data analysis workflow based around ggplot2. Read more about it in this post.
Based on the formula for players' ratings on the First Internet Backgammon Server (FIBS) and explained in Simulating backgammon players' Elo ratings.
A simulation of random fluctuation in Elo ratings for two players playing 10,000 5 point matches at a consistent level of skill, Player A with a 0.6 probability of winning each match, explained in Simulating backgammon players' Elo ratings.
Playing well in backgammon helps, but as you often play similarly skilled players luck is in general much more important.
A Shiny web app to help explore what you'll see in p-control charts with different values of the true defect rate, sample size, and acceptable defect rate. Read more about it in this blog post or visit the full app.