Giter Club home page Giter Club logo

emadnahed / screentimeanalyzer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

The objective of this project is to examine a user's screen usage through Python, with a focus on identifying the applications and websites they utilize and the duration of usage. The project employs a range of libraries including pandas, numpy, plotly.express, and plotly.graph_objects for data processing, visualization, and analysis purposes.

Python 100.00%
data-analysis data-science data-visualization dataanalysis dataanalytics numpy numpy-library numpy-python pandas pandas-library pandas-python python python-3 python3

screentimeanalyzer's Introduction

Screen Time Analysis Project

This project aims to analyze a user's screen time using Python, focusing on which applications and websites they use and for how long. The project utilizes various libraries such as pandas, numpy, plotly.express, and plotly.graph_objects to process, visualize, and analyze the data.

How to run this project

To run the project, you would typically follow these steps:

  1. Clone the repository : If the project is hosted on a version control system like GitHub, you would first clone the repository to your local machine.
git clone https://github.com/username/project-name.git

Replace https://github.com/username/project-name.git with the actual URL of the repository.

  1. Navigate to the project directory : Use the cd command to navigate to the project directory.
cd project-name
  1. Install dependencies : Most JavaScript projects use npm (Node Package Manager) to manage dependencies. Run the following command to install the project's dependencies:
npm install
  1. Enter the below one:
python3 main.py

If the project is not hosted on a version control system, you would need to obtain the project files through other means, such as downloading a ZIP file and extracting it. The rest of the steps would remain the same.

Data

The data used in this project is stored in a CSV file named "Screentime-App-Details.csv". The dataset contains information about the user's screen time, including the date, app, usage, notifications, and the number of times the app was opened.

Data Preprocessing

The data is preprocessed using pandas to check for missing values and to generate descriptive statistics.

Data Visualization

The project includes several visualizations to help analyze the data:

  1. Usage of Apps by User (Bar Chart) : This chart shows the usage of different apps by the user on different dates.
  2. Notifications of Apps to the User (Bar Chart) : This chart shows the number of notifications received from different apps on different dates.
  3. Number of times Apps opened by the User (Bar Chart) : This chart shows the number of times different apps were opened by the user on different dates.
  4. Relationship between the number of notifications and the amount of usage (Scatter Plot) : This plot shows the relationship between the number of notifications and the amount of usage. The size of the points represents the number of notifications, and a trendline is added to show the linear relationship between the two variables.

Summary

The project provides a summary of the analysis, which states that there is a linear relationship between the number of notifications and the amount of usage. This means that more notifications result in more use of smartphones.

Usage

To run the project, simply execute the Python script. The visualizations will be displayed in the browser.

Dependencies

The project requires the following libraries:

  • pandas
  • numpy
  • plotly.express
  • plotly.graph_objects

These libraries can be installed using pip:

pip3 install pandas numpy plotly

License

This project is licensed under the MIT License.

screentimeanalyzer's People

Contributors

emadnahed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.