An interactive data visualization dashboard built with Streamlit to analyze screen time habits and health impacts of Indian children aged 8-18 years.
- 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
 
- Python 3.7 or higher
- pip package manager
- Clone this repository:
git clone https://github.com/SwashO7/DataVisualize.git
cd DataVisualize- Install required packages:
pip install streamlit pandas plotly numpyOption 1: Command Line
streamlit run app.pyOption 2: Double-click the batch file (Windows)
run_dashboard.batOption 3: Python launcher
python launch_dashboard.pyThe dashboard will open in your default browser at http://localhost:8501
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
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
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
- Streamlit: Web application framework
- Pandas: Data manipulation and analysis
- Plotly Express: Interactive visualizations
- NumPy: Numerical computations
- Launch the dashboard using any of the methods above
- Use the sidebar filters to explore specific demographics
- Interact with charts (hover, zoom, pan)
- Observe how KPIs update based on filters
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is open source and available under the MIT License.
Created with ❤️ for data visualization and children's digital wellness
- 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!