CompletedJan 2025 – May 2025 · Data Science

U.S. Traffic Fatality Prediction with BigQuery ML

Modeling multi-fatality crash risk across 100K+ NHTSA records — where the goal was an interpretable coefficient, not a leaderboard score.

Tool flow5 nodes · 4 toolsReady
Story

How it came together

Output

Results

Output5 items
  1. 1100K+ NHTSA FARS crash records modeled entirely in-warehouse, spanning all 50 states
  2. 2Identified alcohol involvement and time of day as the strongest predictors of fatal crashes, with risk concentrated on weekends and late nights
  3. 3Quantified the safety-restraint gap directly: 15,474 fatalities occurred when no restraint was used at all, versus 41,560 with a lap-and-shoulder belt confirmed in use
  4. 4Interpretable coefficients as the deliverable, not just predictive scores — built for a transportation-policy audience, not a leaderboard
  5. 5Interactive Looker Studio dashboards for non-technical stakeholders to filter by state, vehicle type, and behavioral factor
Nodes

Stack

  • SQL
  • BigQuery ML
  • Looker Studio
  • GCP
Screens

Inside the build

Overview page — the headline numbers and the state-level treemap.

Victim demographic profile — surfaced to help target safety campaigns at the groups actually at risk.

Fatalities per crash event by state — frequency and severity are different questions, and this page answers the second one.

Injury severity distribution across all recorded crashes, not just the fatal ones.

Real dataFatalities by state

Top 10 states by fatality record count, queried from the NHTSA FARS public dataset (bigquery-public-data.nhtsa_traffic_fatalities).

California
3,540
Texas
3,427
Florida
2,935
Georgia
1,424
North Carolina
1,348
Pennsylvania
1,088
Ohio
1,053
Illinois
1,000
New York
981
Michigan
981

California, Texas, and Florida lead in total fatality records — consistent with population and vehicle density, and a starting point for where policy intervention would have the most reach.

Links
All work