CoolFace
Apppublic

Blyton/Netflix-content-analysis-dashboard

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes
App README

๐ŸŽฌ Netflix Content Analysis Dashboard

A premium, Netflix-themed analytics platform built with Streamlit โ€” not just a chart page, but a full product...

๐ŸŽฌ Netflix Content Analysis Dashboard

A premium, Netflix-themed analytics platform built with Streamlit โ€” not just a chart page, but a full product: hero landing, KPI dashboard, interactive Plotly visualizations, a live SQL query layer, a Python cleaning notebook, a rule-based insight generator, a world map, a storytelling page, and a Power BI gallery.

Quickstart

bash
pip install -r requirements.txt
streamlit run app.py

The app opens at http://localhost:8501.

Project structure

netflix_dashboard/
โ”œโ”€โ”€ app.py                     # entry point โ€” nav, sidebar filters, page routing
โ”œโ”€โ”€ data/
โ”‚   โ”œโ”€โ”€ netflix_titles_raw.csv     # your uploaded dataset, untouched
โ”‚   โ””โ”€โ”€ netflix_titles_clean.csv   # cleaned version the app reads (see modules/sections/python_section.py for the pipeline)
โ”œโ”€โ”€ modules/
โ”‚   โ”œโ”€โ”€ data_loader.py         # cached loading + sidebar-filter logic
โ”‚   โ”œโ”€โ”€ styles.py               # design tokens, CSS injection, grain background, KPI cards
โ”‚   โ”œโ”€โ”€ components.py           # animated counters, movie card HTML
โ”‚   โ””โ”€โ”€ sections/
โ”‚       โ”œโ”€โ”€ hero.py             # landing page
โ”‚       โ”œโ”€โ”€ dashboard.py        # KPIs + 9 Plotly charts
โ”‚       โ”œโ”€โ”€ explorer.py         # search + movie card grid
โ”‚       โ”œโ”€โ”€ worldmap.py         # choropleth + spotlighted markets
โ”‚       โ”œโ”€โ”€ insights.py         # rule-based AI Insight Generator
โ”‚       โ”œโ”€โ”€ sql_section.py      # live SQLite query cards + custom query box
โ”‚       โ”œโ”€โ”€ python_section.py   # cleaning code, missing-value charts, live pandas snippets
โ”‚       โ”œโ”€โ”€ powerbi_section.py  # screenshot gallery (auto-loads from assets/powerbi/)
โ”‚       โ”œโ”€โ”€ story.py             # data-driven narrative page
โ”‚       โ””โ”€โ”€ about.py             # profile, skills, links, resume
โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ powerbi/                # drop your Power BI screenshots here (png/jpg)
โ”‚   โ””โ”€โ”€ resume.pdf              # add your resume here to enable the download button
โ””โ”€โ”€ requirements.txt

Notes on scope

  • โ€”Posters: the Movie Explorer uses styled placeholder cards (initials on a gradient tile) rather than fetched poster art, by design โ€” no external image API is wired in.
  • โ€”AI Insights: fully rule-based. Every line is computed live from the filtered dataframe (percentages, leading genre/country, peak years, etc.) โ€” no API key required, works offline.
  • โ€”Power BI: the gallery auto-populates from assets/powerbi/. Export your dashboard pages as images and drop them in; no screenshots ship with this repo.
  • โ€”SQL: queries run against a real in-memory SQLite database built from your data on each session โ€” nothing is hardcoded, including the custom query box at the bottom of that page.

Data cleaning summary

Raw dataset: 8,807 rows. After filling missing director/cast/country with "Unknown", dropping the handful of rows missing rating/duration, and de-duplicating on (title, type, release_year): 8,800 rows โ€” 6,126 Movies / 2,674 TV Shows. Full pipeline is in modules/sections/python_section.py (Cleaning Code tab) and mirrored below.