| dhb_cars | R Documentation |
The distribution of cars per household across New Zealand District Health Boards, based on data from the 2013 Census
data("dhb_cars")
A data frame with 20 observations on the following 5 variables.
dhbDistrict Health Board name
noneNumber of households with no cars
oneNumber of households with one car
twoNumber of households with two cars
moreNumber of households with three or more cars
Statistics New Zealand http://archive.stats.govt.nz/Census/2013-census/data-tables/dhb-tables.aspx
data(dhb_cars)
tris<-tri_alloc(dhb_cars[,-1], c("green","gold","orange","goldenrod"), names=dhb_cars$dhb )
dhtri(tri_colours=tris,
legend=list(fill=c("green","gold","orange","goldenrod"),
border=NA,
legend=c("0","1","2","3+"),
title="Cars/Household")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.