Skip to content

Create interactive maps using Leaflet.js, GeoJSON , Javascript and D3 library to explore earthquakes around the world.

Notifications You must be signed in to change notification settings

cedoula/Mapping_Earthquakes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Mapping_Earthquakes

Project Overview

The objective of this project is to gather earthquake GeoJSON data from the USGS API, create and explore interactive maps of earthquakes around the world.
The earthquake data is represented on the maps in relation to the tectonic plates’ location on the earth, and according to each event's magnitude.

Resources

Results

Create a Mapbox account, setup config.js and open index.html

To interact with the maps API the user have to visit mapbox.com, create a Mapbox account and retrieve the access token.

As shown below, the index.html calls for the Mapbox API key in the config.js file.

The user would have to save the token key in config.example.js and rename the file config.js:


To open the index.html file, open the command line, navigate to the main folder and on the command line, enter python -m http.server.

Link to Interactive Maps webpage

The deployed webpage is accessible at https://cedoula.github.io/Mapping_Earthquakes.

Interactive Maps Views

Streets view


Satellite view


Dark view

About

Create interactive maps using Leaflet.js, GeoJSON , Javascript and D3 library to explore earthquakes around the world.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published