Skip to content

Commit

Permalink
Merge pull request #40 from brtarran/link-ToothGrowth-comment
Browse files Browse the repository at this point in the history
added footnote to reader comment
  • Loading branch information
brtarran committed Jan 8, 2024
2 parents 39d1cb7 + 5226124 commit 86d74b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/styling.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ editor: source

## Principles of styling charts

The two charts below show the same data using the same type of chart -- guinea pig tooth growth data visualised on a horizontal bar chart. However, the clarity of the two charts is distinctly different. The choice of colours, addition of text annotations, change of font size, and more informative labels make the chart on the right-hand side much easier to interpret. In this section, we'll explore each of these elements in detail, and discuss how to style different elements of charts to improve accessibility and interpretability of your data visualisations.
The two charts below show the same data using the same type of chart -- guinea pig tooth growth data visualised on a horizontal bar chart. However, the clarity of the two charts is distinctly different. The choice of colours, addition of text annotations, change of font size, and more informative labels make the chart on the right-hand side much easier to interpret.[^1] In this section, we'll explore each of these elements in detail, and discuss how to style different elements of charts to improve accessibility and interpretability of your data visualisations.

[^1]: For an alternative presentation of the same tooth growth data, see [this discussion (with code)](https://github.com/royal-statistical-society/datavisguide/discussions/31) in our GitHub repository.

```{r}
library(ggplot2)
Expand Down

0 comments on commit 86d74b9

Please sign in to comment.