The web-app is made using Streamlit. Streamlit is an open-source app framework for Machine Learning and Data Science teams using Python language. Type 'steamlit run analysis.py' to run the web-app. The main function of the web-app:
- Show the data from the dataset.
- Visualize the data of sentiment analysis.
The home page shows the basic explanation about sentiment analysis.
The data page shows the dataset used for the web-app. It only shows the first 100 data from the dataset.
The tweet examples page shows five random tweets example from the chosen sentiment.
The visualization page shows the visualization for the overall data. There are two types of visualization, histogram and piechart, which can be chosen using the dropdown menu under 'Type of visualization'.
The maps page shows the number of tweets and the location of the tweets when its created within the time span of one hour after the chosen time. 'Hour of the day' slide bar determine the starting time. For example, if we choose 4 in the slidebar, the maps will show the location of the tweets from 4 AM to 5 AM.
Just like its name, individual data page shows the visualization for each airlines. We can choose which airline sentiment to show by the dropdown menu under the 'Airline'. We can also close the previously chosen airline by clickin the 'X' button beside each name.