/Leaflet-Challenge

An interactive map of earthquakes in the United States for the previous 7 days displayed by severity. Additional information about individual earthquakes is displayed when interacted with.

Primary LanguageJavaScript

Visualizing Data with Leaflet

Screenshot

Project Purpose

Visualize the United States Geological Survey's data sets that will allow to better educate the public and other government organizations on issues facing our planet.

Process

Step 1

Acquire JSON data set from USGS Screenshot

Step 2

Import and Visualize the Data

  • Using Leaflet, a map will be created from the data set plotting all of the earthquakes based on their longitute and latitute

Step 3

  • Create data marker that reflect the magnitude of the earthquake by their size and depth of the earthquake by color

Screenshot

Step 4

  • Include popups that provide additional information about the earthquake when a marker is clicked Screenshot

Step 5

  • Create a legend that will provide context for the map Screenshot

Results

The interactive map will display earthquakes throughout the United States by severity in the last 7 days.

Screenshot

By clicking on an earthquake additional information is displayed Screenshot