Statistics visualisations using D3