πΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏ
ββββ βββββββββββββββββββββββ βββββββββββ βββββββββ βββββββββββ
βββββ βββββββββββββββββββββββ βββββββββββ βββββββββ ββββββββββββ
ββββββ βββββββββ βββ βββ ββββββββββββββββββββββββββ ββββββ
ββββββββββββββββ βββ βββ ββββββββββββββββββββββββββ ββββββ
βββ ββββββββββββββ βββ βββββββββββββββββββ βββββββββ βββββββββββ
βββ βββββββββββββ βββ βββββββββββββββββββ βββββββββ βββββββββββ
πΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏπΏ
π― Next-Generation Content Intelligence & Strategic Analytics
Catalog Insights β’ Global Coverage β’ Executive Summaries β’ Recommendations
- KPI Cards (Total, Movies, TV Shows, Countries)
- Growth Trends by Year
- Rating, Genre, and Country Distributions
- Full-Text Search (Title, Director, Cast, Country)
- Multi-filters: Type, Year, Rating, Genre, Country
- Rich Content List with Selection
- Strategic Insights Panel (Strengths, Gaps, Opportunities)
- Executive Summary
- Exportable Text Report
- Diversity Index (Genre/Country/Type balance over time)
- Genre Network (co-occurrence graph)
- Regional Representation & Inclusion Tracker
- Country-level Breakdown & World Map
- π¬ Comprehensive Catalog Analytics: Movies vs TV Shows, Genre/Country mix
- π Intelligent Filtering: Combine multiple filters for precise queries
- π§© Recommendations: Related titles based on type/genre/country/year/ratings
- π Rich Visualizations: Line, Bar, Pie, Network, and Map views
- ποΈ Supabase Integration: Seed and query
netflix_contenttable - π₯ Export: One-click executive report download
- π¨ Modern UI/UX: Tailwind CSS design with responsive grid
β
Node.js 18+
β
npm
β
Modern Browser# Clone the repository
git clone <your-repo-url>
cd Netflix/project
# Install dependencies
npm install
# (Optional) Configure Supabase for persistence
# Create .env in project/ with your credentials
# VITE_SUPABASE_URL=your-supabase-url
# VITE_SUPABASE_ANON_KEY=your-anon-key
# Apply database schema (Supabase SQL editor)
# Run: supabase/migrations/20251001165710_create_netflix_content_tables.sql
# Start development server
npm run devπ App Running: http://localhost:5173
ποΈ Database: Supabase table netflix_content (auto-seeded on first run)
Note: Supabase credentials are required for DB seeding and fetching. Ensure
.envis present atproject/.envbefore starting.
π¬ NETFLIXPRO ANALYTICS DASHBOARD
β£ββ project/
β β£ββ index.html # Root HTML
β β£ββ package.json # Scripts & deps
β β£ββ vite.config.ts # Vite config
β β£ββ tailwind.config.js # Tailwind config
β β£ββ postcss.config.js # PostCSS plugins
β β£ββ supabase/
β β βββ migrations/ # SQL schema
β βββ src/
β β£ββ main.tsx # App mount
β β£ββ App.tsx # Tabs, data flow
β β£ββ index.css # Tailwind directives
β β£ββ lib/
β β βββ supabase.ts # Supabase client
β β£ββ types/
β β βββ netflix.ts # Data types
β β£ββ data/
β β β£ββ netflixData.ts # Synthetic dataset generator
β β βββ Netflix Dataset.csv # Raw CSV (reference)
β β£ββ utils/ # Analytics & helpers
β β β£ββ dataAnalysis.ts
β β β£ββ advancedAnalysis.ts
β β β£ββ recommendations.ts
β β β£ββ exportUtils.ts
β β βββ seedDatabase.ts
β βββ components/ # UI & charts
β β£ββ StatCard.tsx
β β£ββ PieChart.tsx, BarChart.tsx, LineChart.tsx
β β£ββ GenreNetwork.tsx, WorldMap.tsx, DiversityIndex.tsx
β β£ββ InclusionTracker.tsx
β β£ββ SearchFilters.tsx, ContentList.tsx
β βββ RecommendationModal.tsx, StrategicInsights.tsx
βββ README.md
- React 18
- TypeScript 5.5
- Vite 5.4
- Tailwind CSS 3.4
- Supabase (Postgres + REST) for storage and seeding
- Local synthetic dataset as fallback/seed source
- ESLint (TS + React Hooks)
- npm scripts
- KPI cards and executive summary
- Content growth line chart (2008β2021)
- Top genres and countries bar charts
- Type distribution pie chart
- Real-time search across title/director/cast/country
- Multi-select filters: Types, Years, Ratings, Genres, Countries
- Result count with active filter indicator
- Diversity index by year (genre/country/type balance)
- Genre co-occurrence network
- Regional representation and inclusion tracker
- Country details with top genres
- Similarity based on type/genres/country/rating/year/duration
- Modal with curated related content
- One-click report:
netflix-analytics-report.txt - CSV export helper available for datasets
| Device | Breakpoint | Layout | Features |
|---|---|---|---|
| Mobile | < 640px | Single column | Full-width cards, touch optimized |
| Tablet | 640β1024px | Two columns | Balanced layout |
| Desktop | 1024β1440px | Three cols | Sidebar-style sections |
| Large | > 1440px | Expanded grid | Max content density |
Create project/.env:
VITE_SUPABASE_URL=your-supabase-url
VITE_SUPABASE_ANON_KEY=your-anon-keyThese are required at build/start time. Keep them private and never commit
.env(already gitignored).
- π΄ Fork this repository
- π Star to support
- π§ Follow linting and TypeScript best practices
- π§ͺ Test changes locally (filters/analytics/reports)
- π Commit with clear messages
- π Open a detailed Pull Request
π MIT License β Free for personal & commercial use
- βοΈ React Team
- π¨ Tailwind CSS
- ποΈ Supabase
- π Open-source visualization inspiration
π¬ Built for Data-Driven Content Strategy
π Insights β’ π Global Coverage β’ π§ Smart Exploration
β Star this repo if it helped you! β
πΏ Understand the catalog. Discover gaps. Drive strategy. πΏ
π Ready to analyze the Netflix catalog? Launch the dashboard now! π