General
The purpose of this template is to enhance the consistency of our graphics across the company. Also, it should save you a bit of time since the structure and appearance of some elements are defined in here.
Color palettes
## [1] "Statworx Highlights"
## [1] "Statworx standard 1"
## [1] "Statworx standard 2"
## [1] "Statworx sequentiell from blue to black"
## [1] "Statworx sequentiell from blue to white"
## [1] "Statworx sequentiell from grey to white"
## [1] "Statworx sequentiell from grey to black"
## [1] "Statworx sequentiell from blue to red"
Themes
The themes proposed in this section will help to ensure a coherent structure of your graphics. The themes are inspired by those of ggplot. Also each themes also offers the possibility to switch to a dark mode.
High-level structure of a plot
In order to achieve a uniform structure of the plots, some components should be included if possible. These components are marked in the diagram below. In some cases it could make sense to deviate from this structure, some examples are displayed in the Gallery below.
1. Meaningful titles (mirrors the statworx PowerPoint slides)
2. Choose an appropriate scale for the y- and x-axis.
3. If necessary provide a source of the data
4. Label the axis
5. Include a legend
6. Stick to colors defined in the statworx palettes and Design Guide