In this project, we are creating an earthquake map to help viewers visualize the areas where earthquakes have occured in the last 7 days. We do this using JavaScript, the Leaflet library and MapBox APIs. We used realtime earthquake notifications from USGS.
In the maps, you may
-
pick from various basemaps:
- Streetmap
- Satellite Map
- Dark view Map
-
choose between various visualization features:
- Tectonic Plates
- Earthquakes
- Major Earthquakes
A legend is also provided to ensure your viewing experience gives you the best understanding of our data.
Let us take a look at some of these features:
At one glance, we notice the streetmaps basemap, a layer indicating the tectonic plates and the circular markers representing each earthquake occurence.
- The options provided to you in the top-right corner allows you to pick between 3 types of basemaps. In this view, notice that Earthquakes, Tectonic Plates and Major Earthquakes have been selected.
- The legend on the bottom-right corner helps in understanding the color-coded circular markers for each earthquake by magnitude.
In this case, all the layers are the same. The only difference is the use of the dark-themed basemap.
Notice here, there are significantly less earthquake markers. This is because we have only selected the Major Earthquakes option. You can also see the satellite basemap is being used here.
You can view the codes for the project here
The links for data collected for this project can be found below.