/Map-of-Earthquakes

A display of earthquakes through Earth using Leaflet and Mapbox.

Primary LanguageJavaScript

Map of earthquakes

The goal of this project is to display a map of earthquakes using Leaflet and Mapbox with data from USGS's (last 7 days data) and Earth's tectonic plates.

Earthquake source: https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php

Tectonic plates source: https://github.com/fraxen/tectonicplates

Index.html

HTML file used to import all dependencies, call all files, and hold the structure of the website.

Style.css

Styling of the website, mainly used to position the map and style the legend.

Logic.js

Code that does the API calls, manages the data, and displays the data in the map and in the legend.