Skip to content

This repository contains a Streamlit dashboard used to analyze the sentiments of tweets about US airlines. The application displays visualizations and breakdowns of tweet sentiment, time of day, airline choice, and word cloud for specific sentiments.

Notifications You must be signed in to change notification settings

benjaminjvdm/Airline_Sentiment_Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis of Tweets about US Airlines

This repository contains a Streamlit dashboard used to analyze the sentiments of tweets about US airlines. The application displays visualizations and breakdowns of tweet sentiment, time of day, airline choice, and word cloud for specific sentiments.

Table of Contents

Libraries Used

The following libraries were used in this project:

  • Streamlit - used to build the web app
  • Pandas - used to handle data
  • Numpy - used for numerical computing
  • Plotly Express - used to create interactive visualizations
  • Plotly Subplots - used to create subplots
  • Plotly Graph Objects - used to create additional plotly objects
  • Wordcloud - used to generate word clouds
  • Matplotlib - used for plotting visuals

How to Run the Code

  1. Install the necessary libraries using the following command:
pip install -r requirements.txt
  1. Run the app.py file using the following command:
streamlit run app.py
  1. The web app should be up and running on your default browser.

Note: The data used in this project is available in the Tweets.csv file.

Data

The data used in this project is available in the Tweets.csv file.

Functionality

The app allows users to do the following:

  • Analyze the number of tweets by sentiment using bar or pie charts
  • Explore when and where users are tweeting from using a map
  • View the total number of tweets for each airline using bar or pie charts
  • Breakdown tweets by airline and sentiment using bar or pie charts
  • Display a word cloud for a specific sentiment

About

This repository contains a Streamlit dashboard used to analyze the sentiments of tweets about US airlines. The application displays visualizations and breakdowns of tweet sentiment, time of day, airline choice, and word cloud for specific sentiments.

Topics

Resources

Stars

Watchers

Forks

Languages