A dashboard to visualise earthquakes worldwide since 2000.
A abnormal seismic activity has been recorded in late 2020 near my city, Strasbourg, France.
These unusual earthquakes may have been caused by boreholes made during the exploration phase of a geothermal energy project.
This gave me the idea of making a dashboard to display the earthquakes worldwide and learn more about this phenomenon.
To make a good dashboard, you need good data.
I used the webservices of www.seismicportal.eu.
The dataset is updated automatically every hour, leveraging Github's Flat Data, with scripts under scripts/flatdata
.
File data/viz/dataset.csv
is then always up to date` .
If you wish to rebuild the whole dataset from scratch, there are 2 steps :
- collect the raw data from the webservice :
python scripts/scrapping/download_json.py
- aggregate the json files into a csv file :
python scripts/scrapping/build_dataset.py
The data engineering is done using pandas.
The dashboard is made with Holoviz (using Holoviews, Geoviews and Panel) with the Bokeh backend.
- If you have any question on how to use this dashboard
- If you have suggestions on how to improve it
Then please contact me on LinkedIn or on Twitter.
Pull requests are appreciated !
Also have a look to open issues for the next tasks I intend on tackle.
Thanks to @kcpevey and @tonyfast for their help and encouragements.