|
1 | 1 | # EcdcColors
|
2 |
| -Development of an R package for colour palettes following March 2018 [ECDC guidelines for presentation of surveillance data](https://ecdc.europa.eu/en/publications-data/guidelines-presentation-surveillance-data). Contains green, blue, red and grey scales, and qualitative colours, as well as hotcold (warm-cold) scale. Function returns a vector of colours with defined length, which can be used directly in plots. |
| 2 | +Development of an R package for colour palettes following March 2018 ECDC guidelines for presentation of surveillance data. Contains green, blue, red and grey scales, and qualitative colours, as well as hotcold (warm-cold) scale. Function returns a vector of colours with defined length, which can be used directly in plots. |
3 | 3 |
|
4 | 4 | The choice of a colour palette is important as it has a strong impact on the perception of your data by the reader.
|
5 | 5 | The perception will be different depending on whether an area is depicted in red or in green, and this in turn will
|
6 | 6 | result in an initial positive or negative perception of your data. It seems obvious but common mistakes are often
|
7 | 7 | made. Therefore, the palette used should be chosen carefully depending on the message to be conveyed.
|
8 | 8 |
|
9 |
| -The colour palette implemented in `EcdcColors` will help you to create clean, readable and consistent graphs and maps. A palette |
| 9 | +The colour palette implemented in EcdcColors will help you to create clean, readable and consistent graphs and maps. A palette |
10 | 10 | usually consists of a maximum of seven steps as the human eye is not able to distinguish between many shades of
|
11 | 11 | the same colour. Limiting the number of steps is also a good way to make your graphs and maps clear for the reader.
|
12 | 12 | To ensure optimal readability, use the different colours according to the number of steps in your scale.
|
13 | 13 |
|
14 | 14 | Colours are defined by three characteristics:
|
15 | 15 | - their hue, corresponding to the wave length of the light emitted, as in a rainbow;
|
16 |
| -- their luminance, corresponding to the amount of light emitted; |
| 16 | +- heir luminance, corresponding to the amount of light emitted; |
17 | 17 | - their saturation, corresponding to the purity of the colour.
|
18 | 18 |
|
19 | 19 | When choosing a colour to represent data, some of the basic rules to consider are set out in the ECDC guidelines for presentation of surveillance data. The colours chosen are the result of a combination of different requirements in order of importance: adherence to
|
20 | 20 | the basic rules and standard practices for data visualisation, being easily understandable, offering maximum
|
21 | 21 | accessibility to those who are colour-blind, being compatible with the ECDC corporate identity and being pleasing
|
22 | 22 | to the eye.
|
23 | 23 |
|
24 |
| -The colours implemented in `EcdcColors` fit ECDC’s requirements but are also valid for any other organisation and can be used widely. It |
| 24 | +The colours implemented in EcdcColors fit ECDC’s requirements but are also valid for any other organisation and can be used widely. It |
25 | 25 | is also possible to adapt these colours to suit different needs.
|
26 | 26 |
|
27 |
| -Citation: European Centre for Disease Prevention and Control. Guidelines for presentation of surveillance |
| 27 | +Citation: European Centre for Disease Prevention and Control. Guidelines for presentation of surveillance |
28 | 28 | data. Stockholm: ECDC; 2018. Available from: https://ecdc.europa.eu/en/publications-data/guidelines-presentation-surveillance-data
|
29 | 29 |
|
30 |
| -Contains two functions, `EcdcColors()` and `SurvColors()`, both implementing the exact same colourscale. |
| 30 | +Contains two functions, EcdcColors() and SurvColors(), both implementing the exact same colourscale. |
0 commit comments