The USGS provides earthquake data in a number of different formats, updated every 5 minutes. All the earthquakes that happpened in last 7 days is retreived for this visualization.
Using Leaflet, create a map that plots all the earthquakes from your dataset based on their longitude and latitude.
The data markers should reflect the magnitude of the earthquake by their size and the depth of the earthquake by color. Earthquakes with higher magnitudes should appear larger, and earthquakes with greater depth should appear darker in color.
Include popups that provide additional information about the earthquake when its associated marker is clicked.
Create a legend that will provide context for your map data.
- Leaflet-Part-1/index.html - HTML file
- Leaflet-Part-1/static/js/logic.js - Java script file that contains logic to build the visualization
- Leaflet-Part-1/static/css/style.css - CSS file that contains the style definitions
- Images - This folder keeps the images used by the webpage
Dataset created by the United States Geological Survey
This repo was published for educational purpose only. Copyright 2024 edX Boot Camps LLC. All rights reserved.