You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This app will contain a landing page with three tiles; an interactive geographical map that users can pan across to see the location of each tsunami as well as its strength, a time series graph showing the number of deaths by country, and a table presenting the top 10 strongest tsunamis. All three graphics will be filterable by using the collapsible menu which contains two widgets; a slider to select a range of years and a dropdown menu to filter which countries they would like to see. The geographical map makes use of the latitude and longitude in the data set to identify locations where a tsunami occurred and will have a heat map to represent the magnitude of the tsunami as well as the ability for users to hover over a tsunami to glean more information about a particular tsunami. Similarly, users will also be able to use this feature in the table of strongest tsunamis which will have a dropdown to select the top 5, top 10, or top 20 strongest tsunamis of the chosen period. Lastly, the time series graph will show the number of deaths by country and is filterable by a period and countries.
1
+
# Tsunami Events Dashboard (Python)
2
+
3
+
## Accessing the App via Heroku
4
+
5
+
Link to Heroku app: [tsunami-events-dashboard](https://dashboard.heroku.com/apps/tsunami-events-dashboard)
6
+
7
+
## Description of the App Interface
8
+
9
+
This app contains a landing page with three tiles: an interactive geographical map that users can pan across to see the location of each tsunami as well as its strength, a time series graph showing the number of deaths by country, and a table listing the strongest tsunamis. The tsunami events data underlying the three plots is filtered for using a collapsible menu that contains two widgets: a slider to select a range of years of occurrence, and a drop-down menu to filter for countries impacted. The geographical map makes use of the tsunami latitude and longitude location data, generates a heat map to indicate tsunami magnitude, and allows users to hover over tsunami events plotted on the map to glean more comprehensive event details. Users can also peruse of a table listing the strongest tsunami events per the year and country selection applied, with the option to select from among a display of the top 5, 10 , 20 strongest events. Lastly, the time series graph shows the number of deaths by country per the year and country selection applied.
3
10
4
11
## Proposal
5
-
Our proposal can be found via this link: [proposal](proposal.md)
12
+
13
+
Our proposal can be found via this link: [proposal](docs/proposal.md)
6
14
7
15
## Dashboard Sketch
16
+
8
17

18
+
19
+
## Accessing the App Locally
20
+
21
+
To run and explore the app locally, clone the git repo and install required dependencies:
In this milestone, we have attempted to create three plots.
7
+
First, a map plot highlighting the intensity of earthquakes and the countries that were affected by the tsunami (underwater earthquakes).
8
+
Second, a scatter plot to plot the trend of the earthquakes according to its intensity on the Richter Scale.
9
+
Third, a bar chart to highlight the top 10 tsunamis with the highest tsunami intensity of a given time period. (This is different from the earthquake intensity on the Richter Scale).
10
+
11
+
To use this dashboard, the user will be able to toggle the specific years and countries that they will like to examine on the left sidebar.
12
+
The default argument for the time period for all three plots will from 1802 to 2022.
13
+
The default argument for the countries for the map plot and scatter plot will be all countries.
14
+
The scatter plot will highlight the top 10 countries from 1802 to 2022.
15
+
16
+
The bar chart will only take in the values for the years, and not the countries as it
17
+
will display the top 10 most intense tsunamis across the world based on time period specified.
18
+
19
+
## What could be improved
20
+
The structure of the dashboard needs to be improved greatly to make it more streamlined. Moreover, we would like to increase the functionality of the sidebar where users can collapse it,
21
+
such that the plot is rendered larger. Moreover, we would like to add a buttom besides the scatter plot and bar chart, to inform readers about how to interpret the 'Richter Scale' and 'Tsunami Intensity'.
22
+
23
+
The convention of the naming of the functions within each component can also be improved, to allow future collaborators to understand our code with ease.
0 commit comments