Time series charts by the Economist in R using Plotly

In this post we’ll recreate two info graphics created by The Economist. The code uses the new Plotly 4.0 syntax.

Note: Plotly 4.0 has not been officially released yet. You can download the dev version using

Volume of google searches related to immigrating to Canada

AIDS related Visualization