TidyX 44: plotly, maps, & NBA travel

This week, Ellis Hughes and I discuss building maps in {plotly}.

First, we go through the code of Martin Devaux, who made a cool looking plot showing the evolution of public transit expansion costs around the world (data courtesy of TidyTuesday Project). The plot was really interesting and actually threw us for a loop as we initially thought we were looking at a true map! It wasn’t until we got into the code that we realized what was going on and that it wasn’t an actual map at all.

We then move into {plotly} to build a map of NBA travel. The data comes from the Jose Fernandez, who created a cool R package called {airball}.

 

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.