Skip to content

Anjana-Sanjeev/leaflet-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-challenge

  • In this Repo, you can find the following files:
    • The static folder which has two subfolders - css and js. The css subfolder has the style.css file and the js subfolder has the javascript file.
    • The html file can be found in the repo and is mentioned as "index.html".
    • There is also a png file which has the final result of the webpage which has the details regarding earthquakes in past 7 days.

Summary

Part 1: Create the Earthquake Visualisation

  • Get the dataset from the USGS, which provides earthquake data in a number of different formats, updated every 5 minutes. The dataset consists of "All Earthquakes from the Past 7 Days". The URL of this JSON was used to pull in the data for the visualisation.

  • Import and visualise the data using Leaflet, create a map that plots all the earthquakes from the dataset based on their longitude and latitude.The data markers reflect the magnitude of the earthquake by their size and the depth of the earthquake by colour. Also popup provides additional information about the earthquake when its associated marker is clicked. A legend is also provided that shows the color representation.

About

Webpage - Map for Earthquake data in past 7 days.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published