Visualize Earthquake data to allow USGS to better educate the public and other government organizations (and hopefully secure more funding) on issues facing our planet.
Tools, Languages, & Libraries Utilized
Earthquakes: https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php
Tectonic Plates: https://github.com/fraxen/tectonicplates
/static - folders for js and css
/css - style.css for custom styles
/js - logic.js: code for preview using openstreetmap w/o mapbox
/img - screenshots for readme
/Leaflet-Step-1 - mapbox map with Earthquake Markers
/Leaflet-Step-2 - same as above + layer control and Tectonic Plate Lines
NOTE: config.js
file containing mapbox API_KEY is needed to generate the maps in Step-1 and Step-2
// API key
const API_KEY = 'API key';
- Color of cirle is based on the depth of the earthquake
- Radius of circle is based on the magnitude of the earthquake
- Added Layer control
- Added different base maps to choose from
- Added Tectonic Plates layer