Rows: 53,940
Columns: 10
$ carat <dbl> 0.23, 0.21, 0.23, 0.29, 0.31, 0.24, 0.24, 0.26, 0.22, 0.23, 0.…
$ cut <ord> Ideal, Premium, Good, Premium, Good, Very Good, Very Good, Ver…
$ color <ord> E, E, E, I, J, J, I, H, E, H, J, J, F, J, E, E, I, J, J, J, I,…
$ clarity <ord> SI2, SI1, VS1, VS2, SI2, VVS2, VVS1, SI1, VS2, VS1, SI1, VS1, …
$ depth <dbl> 61.5, 59.8, 56.9, 62.4, 63.3, 62.8, 62.3, 61.9, 65.1, 59.4, 64…
$ table <dbl> 55, 61, 65, 58, 58, 57, 57, 55, 61, 61, 55, 56, 61, 54, 62, 58…
$ price <int> 326, 326, 327, 334, 335, 336, 336, 337, 337, 338, 339, 340, 34…
$ x <dbl> 3.95, 3.89, 4.05, 4.20, 4.34, 3.94, 3.95, 4.07, 3.87, 4.00, 4.…
$ y <dbl> 3.98, 3.84, 4.07, 4.23, 4.35, 3.96, 3.98, 4.11, 3.78, 4.05, 4.…
$ z <dbl> 2.43, 2.31, 2.31, 2.63, 2.75, 2.48, 2.47, 2.53, 2.49, 2.39, 2.…
ETC5523: Communicating with Data
Tutorial 6
🎯 Objectives
- appreciate how certain choices in the construction of data visualisation reveals particular structures in the data
- given certain features in the data, create graphics that make the features more pronounced
- (re)create data plots using
ggplot2 - identify and apply cognitive concepts (e.g. preattentive processing, law of similarity, law of closure, law of proximity), elementary perceptual tasks (e.g. length, position, common scale, angle and so on) and color palettes that make the data plot effective for communicating the intended message
- critically evaluate whether the evidence shown in a data graphic supports the claim made about it
- Install the R-packages
install.packages(c("ggridges", "ggbeeswarm"))💎️ Exercise 6A
Diamonds
The dataset diamonds in the ggplot2 package includes attributes and price on 53,940 diamonds. Some of the attributes, such as carat, cut, color and clarity, are known to influence the price. Figure 1 and Figure 2 explain the order of classifications for color and clarity of diamonds. Use this data to answer the following questions.

- Is there anything unusual about the distribution of diamond weights (i.e. carats)? Which plot do you think shows it best? How might you explain the pattern you find?
- What about the distribution of the prices? Can you find any unexpected feature? Which graphics best shows this unexpected feature?
- Suppose that this data are a representative sample of diamonds around the world.
- The exploratory plot in first figure shows that there are hardly any diamonds with high carats that have high level of clarity. Produce a plot to support/contradict this claim.
- A diamonds whole seller wants to convince the jewellery store owner that $5,000 for a 2 carat diamond is a bargain price. Show a graphic that supports this story.
🔧 Exercise 6B
Do insurance claims tell us who is most at risk? (25–30 minutes)
In 2024, AAMI published its Decade of Driving Report, based on more than 4.3 million motor insurance claims lodged from 2014 to 2023. The AAMI report page describes drivers aged 65 and over as its “most at-risk” age group because they accounted for 26% of claims. The finding was reported by ABC News under the headline:
Men and older drivers most at risk of car crashes, insurer finds
Your task is not to assume that the claim is right or wrong. Evaluate whether the published evidence supports the wording used.
The available evidence
The report ranks the age groups in this order:
- 65+ years
- 35–44 years
- 45–54 years
- 55–64 years
- 25–34 years
- 17–24 years
It reports a percentage only for the first group. The data come from motor claims across AAI Limited’s portfolio of insurance brands, rather than from a census of every Australian driver or crash.
# A tibble: 2 × 4
age_group share_of_claims period portfolio
<chr> <dbl> <chr> <chr>
1 Drivers aged 65+ 0.26 2014--2023 AAI Limited motor in…
2 All other reported age groups 0.74 2014--2023 AAI Limited motor in…
B1. Diagnose the claim
Discuss the following questions with a partner and record your conclusions.
- What is the unit counted in the report: people, crashes, insurance claims, or something else?
- Does a group’s share of all claims measure an individual driver’s chance of making a claim? What denominator would be needed to estimate that risk?
- Does lodging a claim establish who caused a crash, how severe it was, or whether anyone was injured?
- Are the age groups directly comparable? In particular, compare the open-ended 65+ group with the narrower younger groups.
- To whom can findings from this portfolio of insurance brands reasonably be generalised?
- Write the strongest conclusion that the available evidence does support.
B2. Rewrite the message
Write a one-sentence headline that states the measure, population and period without describing claims share as risk. It should be understandable to a general news audience.
B3. Redesign the evidence
Use claims_share to create one simple, publication-ready graphic. Your graphic must:
- represent 26% as a share of this insurer portfolio’s claims;
- identify the 2014–2023 period;
- use direct labels rather than requiring a legend lookup;
- use colour and visual hierarchy deliberately, without relying on colour alone; and
- avoid implying that the data estimate crash risk for Australian drivers.
Below the graphic, justify two design choices using the visualisation concepts from the lecture. Then write a two- or three-sentence editor’s note explaining what additional data would be required to estimate risk. Consider comparable age bands, a denominator such as policyholder-years or distance driven, a clearly defined outcome, and information about fault.







