This project is aiming to create an earthquake map to visualize all earthquakes and major earthquakes in past 7 days around the world, and trying to discover the realtionship between tectonic plates and earthquakes.
- Using street map and satellite map as base layer, map all earthquakes data in the past 7 days. Add some features to the map to show the severity of earthquakes for viewers.
- Add tectonic plate data and major earthquake data to the map using d3.json().
- Add color and set the radius of the circle markers based on the magnitude of earthquake. Add a popup marker for each earthquake that displays the magnitude and location of the earthquake using geoJSON().
- Add a dark map as an additional tile layer.
-
Use street map and satellite map as base layer options, map all past 7 days earthquakes with Point geoJSON data as an overlay.
- Circle marker colors and radius were styled to appeal viewers based on the magtitude of earthquakes.
- A legend was created on the bottom right to show magnitude range.
- Popups show more details about Magnitude and location.
-
Map tectonic plates with LineString geoJSON data as an overlay
-
Map major earthquakes with Point geoJSON data as an overlay
-
Add dark map tile layer to base map options
- Three map styles:
Streets, Satellite, Dark
were provided as base map options. All earthquakes and major erathquakes data in past 7 days and tectonic plates data were all added to the map, which can be folded up. - From the view of earthquake locations and tectonic plate boundaries, Major earthquaks mainly happen on or close to plate boundaries.
- Still, there are a couple of drawbacks for the project.
- Since geologic movement is dynamic, earthquake status changes every minute. The geoJSON file we used for mapping here is static. It is better to choose a real-time earthquake link to get most updated information.
- Popups only include magnitude and location of individual earthquake. The Date and time when earthquake happened is another parameter that Viewers may concern. It should be added to popups too.