Skip to content

Commit 55f2d25

Browse files
committed
Revert "Merge pull request #3 from mariabnd/patch-1"
This reverts commit 3f2c8cb, reversing changes made to 4dcde80.
1 parent ec864df commit 55f2d25

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
# 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.
33

44
The choice of a colour palette is important as it has a strong impact on the perception of your data by the reader.
55
The perception will be different depending on whether an area is depicted in red or in green, and this in turn will
66
result in an initial positive or negative perception of your data. It seems obvious but common mistakes are often
77
made. Therefore, the palette used should be chosen carefully depending on the message to be conveyed.
88

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
1010
usually consists of a maximum of seven steps as the human eye is not able to distinguish between many shades of
1111
the same colour. Limiting the number of steps is also a good way to make your graphs and maps clear for the reader.
1212
To ensure optimal readability, use the different colours according to the number of steps in your scale.
1313

1414
Colours are defined by three characteristics:
1515
- 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;
1717
- their saturation, corresponding to the purity of the colour.
1818

1919
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
2020
the basic rules and standard practices for data visualisation, being easily understandable, offering maximum
2121
accessibility to those who are colour-blind, being compatible with the ECDC corporate identity and being pleasing
2222
to the eye.
2323

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
2525
is also possible to adapt these colours to suit different needs.
2626

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
2828
data. Stockholm: ECDC; 2018. Available from: https://ecdc.europa.eu/en/publications-data/guidelines-presentation-surveillance-data
2929

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

Comments
 (0)