Using APIs to create interactive maps displaying location and magnitude of earthquakes using GeoJSON data
The Earthquake data is from earthquake.usgs.gov. Map API calls are processed from Mapbox. Leaflet is the JavaScript library used to format the API information.
The goal of the project was to create an interactive map showing earthquake data from the past 7 days. The JavaScript code is in the challenge_logic.js file and the HTML code for the site is in the index.html file.
There are three options for the base map that can be changed by the user. .
There are three layers that can be selected to show any combination of data related to the earthquakes.
The magnitude and location of the earthquake can be viewed as a popup by clicking on the circle marker for the earthquake.