Skip to content

Machine Learning

Sentiment Analysis of US Airline Tweets

An interactive Streamlit dashboard analysing 14,640+ tweets about six US airlines — sentiment breakdowns, word clouds, time patterns and airline comparisons in one explorable app.

Demonstration2024
All projects
Sentiment Analysis of US Airline Tweets

Problem

Thousands of airline tweets held signal about customer sentiment, but only as raw text — with no way to explore it by airline, sentiment or time.

Objectives

  • Classify tweet sentiment as positive, neutral or negative.
  • Let users explore sentiment by airline and by hour of day.
  • Make the findings interactive rather than static.

My role

Data preparation, NLP analysis and interactive dashboard build.

Methodology

  1. 01Cleaned and categorised 14,640 tweets across six airlines.
  2. 02Built sentiment distributions, per-sentiment word clouds and time-of-day patterns.
  3. 03Shipped it as an interactive Streamlit app for self-service exploration.

Outcome

The dataset skewed negative (56.6% negative, 16.7% positive, 26.7% neutral) with peak activity between 6–10 PM. The app turns a static NLP result into a tool a non-technical stakeholder can explore. Built on a public dataset.

Challenges

Designing an interface simple enough that the data, not the controls, stayed in focus.

Lessons learned

Making an analysis interactive changes who can use it — and that is often where the value is.