Skip to content

Creating Tableau visualizations to analyze New York City bike-sharing data to inform decisions about a similar program in Des Moines, IA.

Notifications You must be signed in to change notification settings

stephperillo/bikesharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

bikesharing

Overview

This analysis examines bike trip data to help convince investors that a bike-sharing program in Des Moines is a solid business proposal.

I used New York City Citi Bike data as a model so that one may have a better idea of the type of Des Moines users that a bike sharing program would interest.

To prepare the data, I used Pandas to convert the "tripduration" column to datetime format.

converted_to_datetime.png

Results

Using Tableau, I created visualizations that show:

  • How long bikes are checked out for all riders and genders.
  • How many trips are taken by the hour for each day of the week, for all riders and genders.
  • A breakdown of what days of the week a user might be more likely to check out a bike, by type of user and gender.

Link to Tableau Story

This graph shows the length of time that bikes are checked out for all riders:

checkout_times.png

The majority of bike rental durations are less than an hour. This supports the fact that most users (over 80%) are Subscribers in NYC, indicating that many may be commuting to/from work via bicycle.

customers.png

The most popular times for bike users to begin their rides are:

Thursdays from 5 pm - 7 pm, 8 am - 9 am, and Mondays and Tuesdays from 5 pm - 7 pm in that order. Midday on Saturdays also tends to be a common time for NYC bikers to begin using Citi bikes.

weekday_for_each_hour.png

The majority of users are males.

checkout_times_by_gender.png

People of all genders tend to rent bikes for no longer than an hour.

The following heatmap displays the number of bike trips by gender for each hour of each day of the week:

trips_by_gender.png

I then created a heatmap that shows the number of bike trips broken down by gender for each day of the week by each user type:

trips_by_gender_by_weekday.png

Male subsribers most often use NYC Citi Bikes on Thursdays and Fridays compared to other weekdays. Similarly, females tend to use bikes mainly during those same times.

avg_trip_duration_by_birthyear.png

Younger riders tend to use bikes longer. There are a few outliers, such as riders born in 1891 (shown by the peak).

starting.png

The top starting locations in NYC are in Manhattan, the heart of the Big Apple where most iconic points of interest are located.

Summary

Two additional visualizations that I would perform with the given dataset would be:

  1. To examine the starting and ending locations of the bikes that are used the most.
  2. To show the most common starting and ending locations specifically during the hours of highest volume bike utilization (i.e. Thursdays from 5 pm - 7 pm, 8 am - 9 am, and Mondays and Tuesdays from 5 pm - 7 pm, and midday on Saturdays). It may be helpful to see where most users are commuting.

Outside of this dataset, it would be beneficial to look at data for winter months to see if it would be worth it to start a bike sharing program in Des Moines, where the snow may affect bike utilization. In addition, one should compare the tourism data between Des Moines and New York City.

About

Creating Tableau visualizations to analyze New York City bike-sharing data to inform decisions about a similar program in Des Moines, IA.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published