Data visualization for Citibike usage

Posted on Sep 20, 2019

Github link to the project


Citibike has been a popular transportation tool for people working in the New York city, especially in Manhattan borough. It is convenient for people that only need to move couple miles, avoiding the crowded environment in public transportation like subway. 

In this project, I used R Shiny to create an interactive app to visualize the Citibike usage data, which contain timestamp information, geographical features, and some basic rider information. 

Result and Discussion

There are three tabs in the app, the Top Start Station, Top End Station, and Analysis. In Top Start Station and Top End Station, there's a slide bar that can be used to select the top N start/end stations according to the bike usage in each station. An interactive map on the left shows the locations of top N start/end stations with Pop-up symbols and the locations of each subway stations with red solid dots. The two plots on the right show the number of bike usage and average trip duration in minutes in the selected top N start/end stations. 

The interface of the app UI

In the Analysis tab, there are plots showing the distribution of  trip duration, the distribution of biker age, the proportion of each gender in the number of bikers, the bike usage in each weekday and the bike usage in each hour of the day. 

Based on the analysis, most of the trip duration is within 5 - 15 min. People within the age of 25 to 35 tend to use Citibike more often than people in other age group. Over 60% of the riders are male. In terms of bike usage in weekdays, the number are relatively comparable from Monday to Saturday, with a surge on Friday. Sunday usage is lower than other weekdays. Within each day, there are two peak times of bike usage, which are 7am - 9am and 16pm - 19pm.

About Author

Jun Kui Chen

Jun obtained Ph.D. from Columbian University in Immunology. He is currently working in a Fintech start up as a Data Analyst.
View all posts by Jun Kui Chen >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup music Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp