Chapter 6 Interactive component

6.1 Daily pattern of bike riding

Hovering the mouse on any bar in the following graph, we can see the hour of a day and the average number of riders during that hour. By selecting among different quarters and the whole year of 2019, we can check the average number of bike riding each hour over this selected period of time.

Comparing graphs of different quarters, we observe that people tend to use the bike sharing more during summer time than during winter. Also, the average number of bike riding of member riders peaks at 8:00 AM and 17:00 PM in all four quarters and that of casual riders increases in the daytime. In short, the riding patterns for member and casual riders are very constant across the entire year.

6.2 Weather effect

Since most of the precipitation in the rainy days in DC is less than 1 inches, points are clustered towards the left of the static graph of precipitation. It is thus difficult to tell whether the association of trip counts with rain is the same across different levels of rains. To further explore the effect of rain on the daily riders’ counts, we created an interactive scatter plot where we can zoom in and out of the x axis using the mouse and touch pad. The interaction allows us to look into the impact of specific range of precipitation on the daily riders’ counts.

In fact, we found that precipitation has a diminishing marginal effect. Specifically, the pattern of change of daily trip counts from 0 (no rain) to 0.1 inches of rain is more obvious than that from 0.5 to 0.6 inches.