Skip to content

SwashO7/DataVisualize

Repository files navigation

Indian Kids Screen Time Dashboard 📱

An interactive data visualization dashboard built with Streamlit to analyze screen time habits and health impacts of Indian children aged 8-18 years.

Dashboard Python Plotly

📊 Features

  • Interactive Filters: Filter data by age range, gender, and location (urban/rural)
  • Key Performance Indicators: Real-time KPIs showing total participants, average screen time, and percentage exceeding limits
  • Rich Visualizations:
    • Screen time distribution histogram
    • Device usage analysis
    • Health impacts breakdown
    • Age-based box plots
    • Interactive scatter plots with hover details

🚀 Quick Start

Prerequisites

  • Python 3.7 or higher
  • pip package manager

Installation

  1. Clone this repository:
git clone https://github.com/SwashO7/DataVisualize.git
cd DataVisualize
  1. Install required packages:
pip install streamlit pandas plotly numpy

Running the Dashboard

Option 1: Command Line

streamlit run app.py

Option 2: Double-click the batch file (Windows)

run_dashboard.bat

Option 3: Python launcher

python launch_dashboard.py

The dashboard will open in your default browser at http://localhost:8501

📁 Project Structure

DataVisualize/
│
├── app.py                      # Main Streamlit application
├── finaldataanalys.csv         # Dataset (9,240 records)
├── launch_dashboard.py         # Python launcher script
├── run_dashboard.bat           # Windows batch file launcher
├── .gitignore                  # Git ignore file
└── README.md                   # This file

📈 Dataset Information

The dataset contains 9,240 records of Indian children with the following attributes:

  • Age: 8-18 years
  • Gender: Male/Female
  • Avg_Daily_Screen_Time_hr: Daily screen time in hours
  • Primary_Device: Smartphone, Laptop, TV, or Tablet
  • Exceeded_Recommended_Limit: Boolean indicator
  • Educational_to_Recreational_Ratio: Ratio of educational vs recreational screen use
  • Health_Impacts: Comma-separated health issues (poor sleep, eye strain, anxiety, obesity risk, etc.)
  • Urban_or_Rural: Location type

🎯 Key Insights

Based on the complete dataset:

  • Average screen time: 4.43 hours/day
  • 88.3% of children exceed recommended screen time limits
  • Top health impacts: Poor sleep, eye strain, anxiety
  • Age range: 8-18 years across urban and rural areas

🛠️ Technologies Used

  • Streamlit: Web application framework
  • Pandas: Data manipulation and analysis
  • Plotly Express: Interactive visualizations
  • NumPy: Numerical computations

📝 Usage

  1. Launch the dashboard using any of the methods above
  2. Use the sidebar filters to explore specific demographics
  3. Interact with charts (hover, zoom, pan)
  4. Observe how KPIs update based on filters

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

📄 License

This project is open source and available under the MIT License.

👨‍💻 Author

Created with ❤️ for data visualization and children's digital wellness

🙏 Acknowledgments

  • Data visualization powered by Plotly
  • Dashboard framework by Streamlit
  • Analysis focuses on Indian children's digital health

⭐ Star this repo if you find it helpful!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published