Summary:

This is an example leaflet map for home and work locations over the past 20 years. This same process can be used for analytics related to population such as election poll results or analysis of health conditions on a geographic area.

Instructions:

Click on the location name to open a webpage to the wikipedia page for that location. Also, notice that there’s a ‘reset’ option to zoom to the original view. Have fun!

Leaflet Map

Data frame used

Data Frame Used for this exercise:
name purpose link latitude longitude
Franklin, TN home Franklin TN 35.92365 -86.86783
Henrico, VA home Henrico VA 36.59257 -78.61634
Miami, FL home Miami FL 25.76168 -80.19179
Nashville, TN work Nashville TN 36.16266 -86.78160
Mayaguez, PR work Mayaguez PR 18.24797 -67.15273
Washington, DC work Washinton DC 38.90719 -77.03687