Skip to the content.

Analysis: Chicago’s Divvy Bike Share

Andrew Luyt
Last updated Friday August 19, 2021


Preview

Among other things, we will visualize bicycle traffic patterns in the Divvy network.

Animated map of averaged bicycle traffic volume in Chicago in June
showing regular patterns of
activity

Introduction & Background

Motivate International Inc runs the Divvy bike sharing service in Chicago. They have made available a large dataset of anonymized ride information from their service. This report is an exploration of that dataset, from July 2020 to July 2021, with an eye towards patterns of use in the system and the differences between members and casual users who purchase one-ride or day-use passes. It has been written in R using R Markdown and the tidyverse packages. GGanimate was used to create all the animated figures.

Summary of Findings

In the last year casual users have ridden a total of more than 45,000 days and members for more than 25,000 days.

Traffic patterns

Casual users vs members

Traffic Volume

We will animate the traffic volume at all stations over 20 minute intervals on a busy weekend. Colour will show the percentage of riders who are casual ticket-purchasers or members.

Animated map of averaged bicycle traffic volume in Chicago on June 19 showing complex patterns of activity

The rest of this section will tease out structure from this somewhat chaotic pattern.

Casual vs member use at each station

Map of user types at all bike stations in Chicago 19 showing distinct geographical differences

We can clearly see a division between casual use and member use.

Member and casual use hot spots

Next we highlight stations that attract a particular type of user.

Map of bike stations with high proportions of member or casual user showing distinct geographical differences

Finally let’s zoom in on the notable hot spot near Navy Pier.

Map of high volume bike stations clustered on Chicago's waterfront

A clear division between stations popular with members and those popular with casual users is evident.

What type of user rides most often?

We saw above some clear geographic patterns in user type. A good next question is: between members and casuals, who rides most often? Below we see that members take the majority of rides, about 30% more.

Bar graph of total rides by user type showing members ride 30% more often

Rides by hour

Bar graph of total rides by user type and hour showing volume spikes from commuting

Casual users have a fairly smooth pattern of use, peaking around 5pm. Members have two sudden jumps in activity corresponding to the morning and evening commutes. Between 6 and 8 in the morning members make up at least 70% of the ridership.

Rides by weekday

Bar graph of total rides by user type and weekday showing a weekend doubling in casual users

Members ride about the same amount through the week while casual use doubles on the weekend.

Weekdays vs Weekends

Here we explore the increase in weekend casual use by comparing weekdays and weekends in June. Colours will display the average type of rider.

Animated map of averaged bicycle traffic volume in Chicago in June showing complex patterns of activity

We can see a few things of note as we pay attention to the colouring:

Seasonal variation

Bar graph of total rides by user type and month showing large seasonal variation

Breaking down the number of rides by month, we can see that while the season is important for all riders, casual users are much less willing to ride in the winter months. From December to February, the system sees very little casual use.

Winter use animated

Animated map of averaged bicycle traffic volume in Chicago in winter showing lower volume and lower casual use

We can clearly see the lower volume, the much higher percentage of member usage, and a lack of the large weekend spike in traffic volume.

Summarizing the previous graphs, casual use of the system is much more variable than for members. It is maximized during summer weekends and minimized during winter weekdays. Member use is much steadier with one exception: it has sharp increases in volume at both daily rush hours.

In our next section we’ll investigate where and in what directions people are riding.

Average traffic flow

Each arrow on the map below represents the averaged motion of all the bikes in a region during a 10-minute period. The stronger the trend, the longer the arrow.

Technical note: to calculate this metric, each trip is treated as a vector from start station to end station. All vectors in a particular region in a particular period of time are added end-to-end and the final vector is treated as the overall traffic flow.

Animated map of averaged bicycle traffic directions in Chicago showing a clear and simple pattern of activity

When we look at the overall traffic flow for the city, it is remarkably consistent. Traffic mostly flows in to the waterfront from all directions, and flows out from the waterfront either to the northwest or southwest, depending how far north the riders are.

Now we’ll zoom in on the area with the most activity to get a better look. We’ll also show data at individual bike stations, rather than a regional average like we did above.

Animated map of detailed bicycle traffic directions in Chicago showing a clear pattern of activity

At this level of detail the traffic flow is more disorderly yet the same overall pattern is visible. On average, Divvy users ride in to the waterfront from the western parts of the city, riders on the southern waterfront travel northwest, and riders on the northern waterfront travel southwest.

A special case: pleasure cruises?

For the traffic flow analysis we removed trips that start and end at the same station since, lacking minute-by-minute GPS data, they have an apparent distance of zero and no direction. We believe it’s likely that pleasure cruises make up a large portion of these rides.

Rider Type Pleasure cruises Avg trip minutes Percent of trips
casual 287293 61 15.5%
member 96348 26 3.9%

These round-trips represent about 10% of all bike use and about 15% of all casual use. We also see above that casual users outnumber members 3 to 1 in this interesting subset of rides.

If our hypothesis is correct, the percentage of this type of ride should shrink in winter and grow in summer and be mostly confined to casual users. This first graph shows exactly this pattern.

Bar graph of pleasure cruises by user type and month showing casual users greatly outnumbering members

Second, if our idea is correct we should also see trip duration becoming longer in summer and shorter in winter. This should strongly affect casual users but have little effect on members, who have a 45-minute time limit. This graph demonstrates this pattern as well.

Bar graph of pleasure cruises by user type and month showing casual users riding much longer

Now let’s map the location and average duration of these trips.

Map of location and duration of pleasure cruises showing large casual use along waterfront

This map clearly identifies that the entire waterfront is the most popular zone for pleasure cruising. There is a notable secondary route stretching northwest, inland from the waterfront. Finally we’ll animate the average duration and locations of these cruises.

Animated map of bicycle pleasure cruises showing most activity along Chicago's waterfront and south of the river

These trips seem to follow a similar pattern to all other traffic in the city, though perhaps more concentrated on the waterfront.

Going further to learn how these rides differ in destination, length, or speed would require some sort of GPS tracking data from the bikes, which is outside the scope of this dataset. For now we note the strong possibility that about ten percent of all trips are taken for enjoyment rather than travel, and that casual users dominate this market segment.

Other observations

How do trip distances vary?

This is a bit surprising. For trips that start and end at different stations, the average trip is about the same distance for both classes of users, about two and a half kilometers.

Bar graph showing members and casuals both averaging about 2.5 kilometers per ride

How much time is spent on an average ride?

Casuals ride more than twice as long as members, on average.

Bar graph showing casuals riding twice as long on average than members

Examining the distribution of ride lengths, we find the expected pattern: most trips are close to average length, but a significant number of casual trips can be over an hour long.

Distribution plot showing almost all rides longer than 45 minutes are by casual users

We can see the effect of the 45-minute time limit for members: almost no members exceed it.

Seasonally, casual rides have a large amount of variation. The small number of winter trips taken tend to be short - half the length of rides at the peak of summer.

Bar graph of ride duration by month showing large variation in casual ride time peaking in summer

Speed

We’ve seen that casuals and members ride about the same distances, but members spend less time on the bikes. The graph below shows that members are about 30% faster on average.

Bar graph of ride speed showing members ride 30% faster on average

Riding time

We now know that members ride more often and casuals ride longer - so who rides the most total minutes? Casual users do!

Bar graph showing casuals have spent 76% more time riding in total than members

This represents a total of over 45,000 days of bike riding for casual users and more than 25,000 days for members in the past year alone.