YouTube-Analytics
Predictive Analytics For YouTube Subscriber Growth Using Data Mining Technique
YouTube Video Statistics Explorer
A sleek and interactive Streamlit web app that lets you explore YouTube videos by keyword and visualize essential stats like views, likes, and comments.
Features
Search YouTube Videos by any keyword
View Statistics (views, likes, comments) in an interactive table
Visualize Top 10 Videos by view count in a bar chart
Customize Search Parameters using a user-friendly sidebar
Requirements
- Python 3.8+
- Streamlit
- Pandas
- Google API Client
- Matplotlib
- Seaborn
Installation
Clone the Repository:
git clone https://github.com/yourusername/youtube-stats-explorer.git cd youtube-stats-explorer
Create a Virtual Environment (Optional but Recommended):
pip install -r requirements.txt
Install Dependencies: On Linux:
python -m venv venv source venv/bin/activate
On Windows:
venv\Scripts\activate
requirements.txt Content:
- streamlit
- pandas
- google-api-python-client
- matplotlib
- seaborn
YouTube API Key Setup
To access YouTube data:
- Get your YouTube Data API v3 key: Get API Key
- Replace the placeholder in streamlit_app.py:
DEVELOPER_KEY = "YOUR_YOUTUBE_API_KEY"
Running the App
Start the Streamlit app:
streamlit run streamlit_app.py
Then go to: