In this project we are visualizing all earthquakes in the past 7 days based on their longitude and latitude. Data on tectonic plates, was added to the map to illustrate the relationship between tectonic plates and seismic activity.
The features of the map:
- Data markers reflect the magnitude of the earthquakes in their size and color. Earthquakes with higher magnitudes appears larger and darker in color.
- The map includes popups that provide additional information about the earthquake when a marker is clicked.
- Three base map layers to choose from: light, satellite, outdoors
- Separate overlays for earthquakes data , and tectonic plates data, that could be turned on and off independently with layer controls
- The legend for the earthquakes layer is turning on and off together with the layer
- When the earthquakes layer is on, it is kept always on top
This map has been deployed to Render: https://visualizing-seismic-data.onrender.com.
- Tools/techniques used: JavaScript, Leaflet.js, D3.js, HTML/CSS, GeoJSON, Mapbox API
GitHub Repository for this project.