This project, part of Dicoding's 'Belajar Analisis Data dengan Python' course, explores, analyzes, and creates dashboards using bike sharing data. It includes two main files: a Jupyter notebook for data wrangling, exploratory analysis, and visualization, and a Python script for the Streamlit dashboard. The dashboard is accessible at this link.
You can run the file by following these steps:
- clone this repository:
git clone https://github.com/totoro-07/Bike-Sharing.git
To run the dashboard:
- Download the dashboard folder (do not move files within it).
- Install Streamlit:
pip install streamlit - Install required libraries (pandas, numpy, scipy, matplotlib, seaborn, plotly).
- Open
dashboard.pyin VSCode. - Run the dashboard:
streamlit run dashboard/dashboard.py
The analysis answers the following questions:
- What is the trend of bike-sharing usage each year?
- How does weather condition affect the percentage of bike-sharing users?
- How does the season affect the percentage of bike-sharing users?
- At what time is the number of bike rentals the highest?
- Data Collection: Used bike-sharing dataset from 2011 to 2012.
- Data Cleaning: Fixed data type mismatches and renamed columns.
- Exploratory Data Analysis (EDA): Explored
days_dfandhours_df. - Visualization: Created line, bar, and pie charts to show trends by year, user type, season, weather, and hourly usage.