Economic Policy Visualization
Inflation · Colors
April 17, 2023
Inflation is the increase of the general price level in an economy which is usually expressed as annual percentage change in a price index. Inflation implies a decrease in purchasing power. The causes of inflation include:
Keynesian view
Monetarist view
A longstanding discussion in economic policy revolves around the (negative) relationship between inflation and unemployment. This has been expressed in the Phillips curve.
Keynesian view
Monetarist view
The most important measure is the Consumer prices index (CPI), which is based on a weighted average market basket of consumer goods and services purchased by households
For international comparison of price levels, Eurostat provides the Harmonised Indices of Consumer Prices (HICP) and the OECD calculates Purchasing Power Parities (PPP)
Other important indices include the Wholesale Price Index (WPI) and Producer Price Index (PPI).
Apart from price indices, the GDP deflator measures the general price level of all domestically produced goods and services.
You can assign colors by names
[1] "white" "aliceblue" "antiquewhite" "antiquewhite1"
[5] "antiquewhite2" "antiquewhite3" "antiquewhite4" "aquamarine"
[9] "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4"
Alternatively, you can use hex color codes
Sequential
Use to encode numerical information with order
Diverging
Use to encode numerical information with critical midpoint
Qualitative
Use to encode categorical information
You may check whether the color scale works for people who can distinguish fewer colours than others with {colorBlindness}.
The viridis color scale is discriminable under the most common forms of colour blindness, and reproduces well in greyscale.
scale_color_*
scale_fill_*
Continuous:
Discrete:
PI 5620 Advanced Economic Policy | Summer term 2023