Topics: responsive. True interactivity: zoom in, zoom out, markers, pop-ups, move around, etc.
Code: R, Python / Tool: RStudio, Jupyter
R
We can plot static maps with ggvis, ggplot2 (alone or with ggmap). We can also plot interactive maps with rbokeh and Plotly among others. However, for true interactivity and full responsiveness, we must turn to leaflet, an adaptation of Leaflet.js (JavaScript syntax).
An Internet connection is necessary to load and refresh the maps.
Zoom in, zoom out, click on markers to see pop-ups, hover over markers to see pop-ups, move around…
The Joshua Tree
European Education (Expenses as a % of GDP)
Maple Syrup Production (Gallons)
Colonial and Modern Brazil
Python
We can also plot static and interactive maps with cartopy, bokeh, Plotly, Holoviews, bqplot, pygal, Altair, and Lightning among others. However, for true interactivity and full responsiveness, we must turn to folium, an adaptation of Leaflet.js (JavaScript syntax).
An Internet connection is necessary to load and refresh the maps.
Zoom in, zoom out by unlocking the map (press the 4-arrow button), click on markers to see pop-ups, move around…
The Joshua Tree
Maple Syrup Production (Gallons)
Population Density (h/km2)
Unemployment (%)