Package: afcharts 0.5.1

Olivia Box Power

afcharts: Produce Charts Following UK Government Analysis Function Guidance

Colour palettes and a 'ggplot2' theme to follow the UK Government Analysis Function best practice guidance for producing data visualisations, available at <https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/>. Includes continuous and discrete colour and fill scales, as well as a 'ggplot2' theme.

Authors:Crown Copyright [cph], Government Analysis Function [fnd], Alice Hannah [aut], Olivia Box Power [cre, ctb]

afcharts_0.5.1.tar.gz
afcharts_0.5.1.zip(r-4.7)afcharts_0.5.1.zip(r-4.6)afcharts_0.5.1.zip(r-4.5)
afcharts_0.5.1.tgz(r-4.6-any)afcharts_0.5.1.tgz(r-4.5-any)
afcharts_0.5.1.tar.gz(r-4.7-any)afcharts_0.5.1.tar.gz(r-4.6-any)
afcharts_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
afcharts/json (API)
NEWS

# Install 'afcharts' in R:
install.packages('afcharts', repos = c('https://best-practice-and-impact.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/best-practice-and-impact/afcharts/issues

Pkgdown/docs site:https://best-practice-and-impact.github.io

Datasets:

On CRAN:

Conda:

7.94 score 26 stars 17 scripts 413 downloads 8 exports 26 dependencies

Last updated from:0f2fe2cfa2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK131
source / vignettesOK213
linux-release-x86_64OK133
macos-release-arm64OK150
macos-oldrel-arm64OK233
windows-develOK157
windows-releaseOK89
windows-oldrelOK102
wasm-releaseOK105

Exports:mm_to_inchsave_govukscale_colour_continuous_afscale_colour_discrete_afscale_fill_continuous_afscale_fill_discrete_aftheme_afuse_afcharts

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

Accessibility

Rendered fromaccessibility.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2026-02-23
Started: 2023-02-28

Colours

Rendered fromcolours.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2025-09-01
Started: 2023-02-22

Cookbook

Rendered fromcookbook.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2025-08-22
Started: 2023-05-11

Saving charts

Rendered fromsaving.Rmdusingknitr::rmarkdownon May 05 2026.

Last update: 2026-02-23
Started: 2023-05-11