Data to colors
Worldbank
Worldbank
Data source
Data source
https://data.worldbank.org/country/CY
Source code
Source code
https://github.com/hovjdev/CyprusVitalSigns/blob/main/worldbank.py
Algorithm
Algorithm
From an initial set of 1443 time series collected by the World Bank for the country of Cyprus, the 8 features that are the most uncorrelated and continuous are selected and plotted on a line chart.
Principal Component Analysis (PCA) is applied to reduce the set to 3 time series preserving most of the information contained in the original set.
The output of PCA is converted into red, green and blue curves that define a color palette.
Line chart and color palette
Color palette