← Back to Selected Work

Cost Modeling & Data Visualization

Car TCO Compare

Live Web App

Compare the estimated cost of owning up to six cars, with assumptions you can change and a breakdown you can inspect.

Car TCO Compare interface preview
Public App Preview

Key DecisionMake the assumptions editable so the ranking can be challenged.

The Case Study

Problem
Sticker price and monthly payments leave out much of the cost of owning a car. I wanted to compare different vehicles under the same holding period, mileage, and financing assumptions, and inspect what changes the ranking.
What I Built
A car-ownership calculator with a seven-part cost model, side-by-side comparisons, and cumulative cost charts. Cars are entered by hand or loaded from presets and saved cars. A separate email-alert prototype ranked real listings by estimated ownership cost.
How It Works
The pure TypeScript calculation engine is separate from the React interface and reused in Car Shopping. The comparator runs entirely in the browser; inputs save locally and in a shareable link. Supabase, Resend, and scheduled GitHub Actions supported the email-alert prototype with double opt-in.
Where It Stands
The comparator is publicly available, and its calculation engine is also used in Car Shopping. On November 12, 2026, I paused the real listings and the email-alert prototype to stay within the data provider’s terms. The code is kept, so both can return under a license that allows public use. A commercial subscription service has not launched.
Evidence and Limits
  • Cost assumptions are illustrative segment-level estimates, not predictions of an individual buyer’s expenses.
  • Engine tests cover calculations, depreciation, and vehicle resolution. The model documentation makes the assumptions inspectable.
  • The alerts prototype has a public review record. Historical checks are not a promise of current service reliability.
Product Stack
React · TypeScript · Vite · Vitest · Supabase · Resend · GitHub Actions · GitHub Pages
Evidence As Of
2026-11-12

Figures shown are illustrative estimates; the app states its cost assumptions are illustrative. Source is public under the PolyForm Noncommercial license.

Explore All 11 ProjectsGet in Touch ↗