Text and Labels

Author

Josef Fruehwald

Published

January 25, 2023

Step 1: Critique

(not “criticism”)

Source: Office for National Statistics (ONS) (2023)

Notes for discussion

  • How does the mapping of data to position aesthetics correspond to spatial metaphors?

  • What decisions were made, and what do we think of them?

  • Take special note of the text that’s been included.

Step 2: Attempted Re-creation

After loading the tidyverse, you should be able to copy-paste the code in the chunk below to have a dataframe of the dataframe represented in the graph that we can plot in ggplot2. The geometry to use here will be ggplot2::geom_col().

age_orientation <- 
  tibble(
    age_group = factor(
      c(
        "16 to 24", 
        "25 to 34", 
        "35 to 44", 
        "45 to 54", 
        "55 to 64", 
        "65 to 74", 
        "75+"),
      ordered = T
    ),
    percent = c(
      6.91,
      5.64,
      3.50,
      2.39,
      1.59,
      0.84,
      0.37
    )
  )

References

Office for National Statistics (ONS). 2023. “Sexual Orientation: Age and Sex, England and Wales: Census 2021.” https://www.ons.gov.uk/peoplepopulationandcommunity/culturalidentity/sexuality/articles/sexualorientationageandsexenglandandwales/census2021.