Skip to content

Commit ae2d2e1

Browse files
committed
Add note on afcharts (closes #69)
1 parent 73c5e7c commit ae2d2e1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.Rmd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,16 @@ gapminder |>
131131
)
132132
```
133133

134-
**Note on use of titles, subtitles and captions** <br>
134+
#### Note on use of titles, subtitles and captions
135+
135136
Titles, subtitles and captions have been embedded in these example charts for demonstration purposes. However, for accessibility reasons, it is usually preferable to provide titles in the body of the page rather than embedded within the image of the plot. More information is available in the [accessibility article](https://ScotGovAnalysis.github.io/sgplot/articles/accessibility.html#other-accessibility-considerations).
136137

138+
## Related package
139+
140+
sgplot is the basis for the [afcharts](https://best-practice-and-impact.github.io/afcharts) package, developed by the [Government Analysis Function](https://analysisfunction.civilservice.gov.uk/). The packages remain similar, with both following the [Analysis Function Data Visualisation guidance](https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/), however sgplot also uses guidance from the [Scottish Government Design System](https://designsystem.gov.scot/guidance/charts/data-visualisation-colour-palettes).
141+
142+
Scottish Government analysts should continue to use sgplot, rather than afcharts.
143+
137144
## Licence
138145

139146
Unless stated otherwise, the codebase is released under [the MIT License](LICENSE). This covers both the codebase and any sample code in the documentation.

0 commit comments

Comments
 (0)