Skip to content

afcharts

Produce Charts Following UK Government Analysis Function Guidance

v0.5.1 · Feb 26, 2026 · MIT + file LICENSE

Description

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.

Downloads

499

Last 30 days

7902nd

1.4K

Last 90 days

5.1K

Last year

Trend: +6.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ggplot2 scales cli rlang dplyr purrr afcharts

Version History

new 0.5.1 Mar 10, 2026
updated 0.5.1 ← 0.4.1 diff Feb 25, 2026
updated 0.4.1 ← 0.4.0 diff Jan 12, 2025
new 0.4.0 Nov 5, 2024