Exploring US Bikeshare data in 3 major cities in USA - python script, web app deployment using flask
Bikeshare Data Explorer is a Python web application that allows users to explore and analyze bike sharing data from different cities. With this application, users can filter data by city, month, and day to view statistics and gain insights into bike sharing trends.
- Load and analyze bike sharing data from Chicago, New York City, and Washington.
- Filter data by city, month, and day to view specific insights.
- Calculate statistics such as average trip duration, most popular start and end stations, total travel time, and more.
- Interactive user interface for a seamless experience.
Before you begin, ensure you have met the following requirements:
-
Python 3.x installed on your local machine.
-
Flask framework installed. You can install it using
pip
:pip install Flask
python bikeshare.py
-
Clone this repository:
git clone https://github.com/yourusername/Bikeshare-Data-Explorer.git
-
Navigate to the project directory:
cd Bikeshare-Data-Explorer
-
Run the Flask web application:
python app.py
The application will start, and you will see output indicating the server is running. You can access the application in your web browser at http://localhost:5000
.
-
Launch the Bikeshare Data Explorer web application by following the installation instructions.
-
Select your city (Chicago, New York City, or Washington) from the dropdown menu.
-
Choose a specific month or select "All Months" to include all months in the analysis.
-
Select a day of the week or choose "All Days" to include all days in the analysis.
-
Click the "Explore Data" button to view statistics based on your selections.
-
Explore the statistics, and you can also click the "Show Raw Data" button to view the raw data.
-
Follow me on Twitter 🐦, connect with me on LinkedIn 🔗, and check out my GitHub 🐙 for more projects and updates!
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, feel free to contact me:
- Email: ndirangumuturi749@gmail.com
- LinkedIn: Isaac Muturi