/USGS_earthquake_leaflet

Visualizing USGS Earthquake Data with Leaflet

Primary LanguageJavaScript

USGS_earthquake_leaflet

Visualizing USGS Earthquake Data with Leaflet

The below map uses JavaScript library 'Leaflet' to visualize fault lines and earthquake data collected in the last seven days. Data on tectonic plates can be found at https://github.com/fraxen/tectonicplates. Earthquake data is updated every day and is from the United States Geological Survey (USGS).

  • Markers reflect the magnitude of the earthquake in their size and color. Earthquakes with higher magnitudes appear larger and darker in color.
  • Popups provide additional information (location, magnitude, time) about the earthquake when a marker is clicked.
  • Legend describes color scales of earthquake magnitude.
  • Layer controls at the top-right corner allow users to choose from three base maps. Faults lines and earthquake datasets are overlays that can be turned on and off independently.

Index.html Screenshot_1