In this project I initially analyzed Star Wars movie using a separate dataset, unfortunately I lost the original file, however the results and visualizations I had gotten are still available on my LinkedIn post :

https://www.linkedin.com/posts/ethanpds_in-this-small-project-i-explored-the-global-activity-7324659638837067777-4Bsq?utm_source=share&utm_medium=member_desktop&rcm=ACoAAE4g_bYBwsz_B0R2x0tgc1aGQRZB0jU235M

I filtered the dataset for Star Wars titles and recreated key visualizations, to have a clear comparison of box office performance across the franchise. This project demonstrates my skills in data cleaning, filtering and effective visualization with pandas and matplotlib .


Goal of this analysis

<aside> 🗨️

In celebration of May the 4th earlier this year also known as Star Wars Day, I conducted on analysis of global box office performance amongst the Star Wars film franchise. As a life long Star Wars fan I intend to combine my personal passion with data management and story telling.

The goal of this analysis is to

  1. Investigate whether Star Wars performs better in the U.S. (domestically) or in the international market, we re comparing the two by comparing adjusted and unadjusted gross revenues.
  2. Ranking Star Wars movies in terms of global box office success to arrange movies in ascending order in terms of box office success.
  3. Use clear engaging horizontal bar charts to visualize revenue comparisons across films and regions, ensuring that it can be visualized by both coders and non-coders. </aside>

Deliverables

<aside> 🗨️

Deliverables:

🔍 Analysis Components

🛠️ Tools Used

📤 Output & Sharing Format


Questions to be answered

<aside> 🗨️

🔹 1. Domestic vs. International Popularity


🔹 2. Highest-Grossing Star Wars Film


🔹 3. Visualizing the Results

What data do I have?

<aside> 🗨️

Star Wars Box Office Dataset


Data Preparation & Filtering

import pandas as pd

csvFile = '<https://raw.githubusercontent.com/csbfx/advpy122-data/master/top_movies_2020.csv>'
movies = pd.read_csv(csvFile)

# Filter for Star Wars movies only
star_wars_df = movies[movies['Title'].str.contains('Star Wars', case=False, na=False)]
print(star_wars_df)