Session Ready
Exercise

Initializing Maps

In this set of exercises, you will create interactive maps to visualize New York Citi bike trips. You will use the ny_bikedata dataset, which includes the number of trips starting and ending at each station (start_count and end_count) for 8 days, along with the station coordinates.

In this exercise you will initialize a map. In the next exercise, you will add points on top of it to map the coordinates of the bikes stations.

Note that:

  • rbokeh and dplyr are pre-loaded
  • ny_bikedata dataset is available in this session
Instructions
100 XP
  • Create a map using gmap and assign it to the ny_map object.
  • Use latitude = 40.73306 and longitude = -73.97351 as the map center and set the initial zoom value to 11.
  • Use the blue_water map style.