Skip to content

SandraBotica/leaflet-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-challenge

In this challenge a visualisation of an earthquake dataset from The United States Geological Survey, or USGS has been created using Leaflet.

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

Part 1. Create the Earthquake Visualisation.

The dataset is of 'All Earthquakes from the Past 7 Days" and is used in 2 files listed: <logic.js> <Leaflet_challenge.ipynb>

Dataset created by The United States Geological Survey, or USGS. https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.geojson

A marker was created on the map for each earthquake latitude and longitude from the geojson URL.

The size of the marker is based on the magnitude of the earthquake i.e. earthquakes with higher magnitude appear larger.

The colour of the marker is based on the depth of the earthquake i.e. earthquakes with greater depth appear darker.

A legend for the depth of the earthquake has been added.

Each marker has a popup/tooltip with information about the location, magnitude and depth of the locations earthquake.

Enjoy marking this assignment! Thank you Sandra

About

Module 15 Challenge uses Leaflet to visualise an earthquake dataset from USGS. TileLayer loads and connects to a geojson API using D3 and tooltip for each data point, scaled with magnitude and colour based on depth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors