Lecturer: Emi Tanaka
Department of Econometrics and Business Statistics
Data visualization is part art and part science. The challenge is to get the art right without getting the science wrong and vice versa.
– Claus O. Wilke, Fundamentals of Data Visualization
|United States America||101,309||0.4|
|Papua New Guinea||29,984||0.1|
Which birth place is the third largest among people in Australia?
Can you read the labels without tilting your head?
What’s the data story?
The text on the bar shows the percentage out of 25,422,788 Australian residents born in that place.
There were 5.3% of Australian residents who did not state their birth place.
The top country of birth place is Australia with 66.9% of Australian residents born in Australia.
Story from The Guardian.
|Birth place||Count||%||Census Year|
Does this show that India overtook China and New Zealand?
Should we show percentage instead of counts?
The legend and the line order is different…
Maybe we can put the labels directly in the plot?
Pie charts are a very bad way of displaying information. The eye is good at judging linear measures and bad at judging relative areas. A bar chart or dot chart is a preferable way of displaying this type of data.
Of the 10 elementary perception tasks, Cleveland & McGill (1984) found the accuracy ranked as follows…
Can you tell which birth place have more women than men amongst the Australian residents?
Census 2021 shows far more women born in Phillipines and China migrate to Australia than men born in their respective countries, whilst more men born in India migrate to Australia than women born in India.
Notice that the countries are colored by their continent (Europe, Asia, and Oceania).
Zeileis, Fisher, Hornik, Ihaka, McWhite, Murrell, Stauffer, Wilke (2019). colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes. arXiv 1903.06490
Zeileis, Hornik, Murrell (2009). Escaping RGBland: Selecting Colors for Statistical Graphics. Computational Statistics & Data Analysis 53(9) 3259-3270
::hcl_palettes("Qualitative", plot = TRUE, n = 7)colorspace
::hcl_palettes("Sequential", plot = TRUE, n = 7)colorspace
::hcl_palettes("Diverging", plot = TRUE, n = 7)colorspace
Colorblindness affect roughly 1 in 8 men.
Check your color choices using the
colorblindr package or otherwise.