https://github.com/sarthakpati/ev_comparator
EV comparison website
https://github.com/sarthakpati/ev_comparator
comparator comparison electric-vehicles ev
Last synced: 7 days ago
JSON representation
EV comparison website
- Host: GitHub
- URL: https://github.com/sarthakpati/ev_comparator
- Owner: sarthakpati
- License: apache-2.0
- Created: 2026-06-09T13:18:00.000Z (8 days ago)
- Default Branch: main
- Last Pushed: 2026-06-09T17:53:49.000Z (7 days ago)
- Last Synced: 2026-06-09T19:23:24.548Z (7 days ago)
- Topics: comparator, comparison, electric-vehicles, ev
- Language: TypeScript
- Homepage:
- Size: 581 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
# EV Comparator
An interactive, open-source EV comparison tool powered by **Bjørn Nyland's** real-world test data.
Compare range, charging speed, efficiency, acceleration, noise, cargo, and more across hundreds of EVs — with a heatmap matrix, scatter/Pareto view, and side-by-side compare mode.
**[Live demo →](#)** (deploy to Railway to get your URL)
---
## Features
- **Matrix view** — heatmap-colored grid with multi-level sort (Shift+click), column picker, sticky header
- **Scatter / Pareto** — pick any two metrics for X/Y, Pareto frontier highlighted
- **Compare mode** — pin up to 5 vehicles for side-by-side comparison with radar chart
- **Market overlay** — US price + launch data via `data/usa.md`; market-aware filter
- **Dark/light theme**, responsive (works on mobile)
- **Shareable URLs** — all state in query params
## Quick start
```bash
# Prerequisites: Node 20+, pnpm
pnpm install
pnpm etl # builds public/data/dataset.json from data/*.md
pnpm dev # http://localhost:5173
```
> Run `python data/clean.py` from the `data/` directory if you update `TB_test_results.xlsx`.
## Data
Test data: © **Bjørn Nyland** — reproduced with attribution. See [his YouTube channel](https://www.youtube.com/@BjornNyland).
Market overlay (`data/usa.md`): community-maintained, approximate MSRPs pre-incentive. PRs welcome.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). Common contributions:
- Fix/add prices in `data/usa.md`
- Fix vehicle name merges in `data/aliases.yml`
- Add EU/UK overlay files (`data/eu.md`, `data/uk.md`)
- Add body/segment data in `data/enrichment.csv`
## Deploy to Railway
```bash
# One-click: link repo in Railway and it uses Dockerfile automatically
# Or:
railway up
```
## License
Code: MIT. Data: © Bjørn Nyland (see [NOTICE](NOTICE)).