Day 4 was all about focused sheet construction in Tableau. Yesterday was about designing the plans and fixing pipeline holes; today was about actually building the views—and running into some statistical traps along the way.

Here is the breakdown of what got built, the roadblocks encountered, and how I solved them to keep the CFO and Analyst dashboards on track.

Note: today was a half day for me because of a doctor's appointment in the morning.

Averaging an Average – Answering Q3: E-Bikes & Duration

When tackling the question of whether rain pushes riders toward e-bikes and affects ride times, my instinct was to pull the pre-computed AVG(Avg Trip Duration Min) into a scatter plot against continuous rainfall. However, it was immediately obvious that that caused two big problems:

  • Averaging an already-averaged field gives equal weight to a dock with 1 multi-hour trip and a dock with 50 commuter trips (averaging 12 minutes). The Y-axis shot up to an absurd 650 minutes.
  • Dropping SUM(Precipitation In) onto continuous columns summed rainfall across every station slice per hour, producing artificial rainfall totals into the hundreds of thousands.

I replaced the messy scatter plot with a clean 100% Stacked Bar Chart, with a bar for each major weather type, each split by bike type and labeled with average trip duration (using a true weighted measure).

Next up was evaluating commute resilience across days of the week and rush-hour periods. When I initially plotted [Avg Trips per Dry Hour] - [Avg Trips per Wet Hour] in a heatmap, several cells broke the narrative—Wednesday afternoons showed -962, when intuitively it doesn't make sense that rain leads to more demand than clear skies.
This was happening because absolute differences were distorting peak vs. off-peak demand. Losing 500 rides during the morning rush (with a baseline of, say 4,000 rides) is only a minor -12.5% dip, while losing 500 rides at 2 AM is an -83% drop. Additionally, the dry baseline wasn't scoped to the specific weekday and commute slot.
To fix it, I transformed the metric to a percentage change scoped to the cell's exact context. With LODs fixed on DAY([Date Hour]) and [Commute Period], the table became clear: Evening rush hours revealed more durable commuter resilience than mornings, which makes sense considering that people are less willing to get wet (either on foot or bike) on their way to work/at the start of the day.

The 200% Resilience Surge – Answering Q2: Station Map

Building the Manhattan Station Resilience Map brought its own logical challenges. After building the map, a handful of stations suddenly registered 200% resilience. This was because the Citi Bike fact table only logs records when trips occur. Stations with no trips at 3 AM don’t generate rows. Because the LOD wasn't nested first, the dry baseline got pulled down by small row-level counts while a couple of rainy rush hours blew the resilience numbers completely out of proportion.
I incorporated the necessary logic into the existing calculations to account for this. Additionally, to give the user more control, I added a trip volume filter and also created a parameter slider that dynamically re-centers the diverging color palette around any selected threshold (e.g., 70% or 80%).

Correcting the Rain Decay Curve – Answering Q1: Rain Thresholds

The final view today centered on analyzing the rain threshold where users stop riding. Using raw trip counts across 0.05" rain bins distorted heavy storms (>0.35"), creating false spikes of ~3,800 trips an hour simply because those rare deluges hit during peak rush hour.
Digging into the data, I found that the 0.60" rain bin only had 1 observation hour all year. Comparing a wet rush-hour count directly against an overall 24-hour dry baseline that included overnight hours inflated the index. So I normalized each hour against its hour-of-day baseline, which leveled out the baseline comparisons, isolating true trends. I found that casual riders stop biking at the first trace of rain (trips drop ~60%) while members/commuters show a little more resilience to rain. Still, small sample sizes (around 5 observations) distort heavy-rain trends.

Where Things Stand + What's Next

After a shorter day focused on accurate graphing with no real roadblocks, I'm ready to assemble the final interactive dashboards, set up the actions, and deliver the walkthroughs tomorrow.