“Please imagine a ladder, with steps numbered from 0 at the bottom to 10 at the top. The top of the ladder represents the best possible life for you and the bottom of the ladder represents the worst possible life for you. On which step of the ladder would you say you personally feel you stand at this time?”
The following chart demonstrates that it is possible to approximate
the functionality of our World in Data grapher for multicountry
selection using R, specifically with the crosstalk
package
and a small amount of custom JavaScript. For more information on how to
achieve this, see this
Stack Overflow question.
Note that this is not a required task, but rather a showcase of what can be achieved. The code for this will be shared when we provide the solutions for the exercise.
Data source: World Happiness Report