Skip to content

Repository files navigation

Measles Vaccination (MMR) Coverage Dashboard

An interactive dashboard visualizing measles (MMR) vaccination coverage across the United States, drilling down from a national overview to individual states, counties, and K–5 schools. Built by ACCIDDA.

🔗 Live: https://accidda.github.io/measles-dashboard/

What it shows

  • National view: every US state shaded by its overall coverage; states without data yet render greyed.
  • State view: click a state to zoom into its counties, each colored by coverage tier (high / medium / low) or by an under-vaccination lens.
  • County view: drill into a county to see its individual K–5 schools, each with a per-grade coverage breakdown.

Coverage estimates come from the imuGAP Bayesian model; school and county geography come from public sources.

Data

All coverage data is published as static CSV files at predictable URLs, so the files that drive the dashboard double as a downloadable, no-auth API:

/data/states.csv                               one row per state
/data/states/<state>.csv                       one row per county
/data/states/<state>/counties/<county>.csv     one row per school

Each file carries the same coverage columns at every level: overall coverage with 95% credible intervals, a per-grade (K–5) breakdown, and a coverage tier.

The CSVs are generated from model output by the scripts in scripts/build-data/ and regenerated when the model updates, not on every deploy. The full URL scheme and column reference, with curl examples, are in docs/API.md.

Tech

Single-page Vite + React 18 app. Page chrome is React; the interactive map is D3 over us-atlas TopoJSON. Deployed as a static site on GitHub Pages under the /measles-dashboard/ base path.

How it all fits together is documented in docs/ARCHITECTURE.md.

Quick start

Built and tested against Node 20 (pinned in .nvmrc; what CI runs). Run nvm use to match it.

nvm use
npm install
npm run dev        # http://localhost:5173

Full command list and the contributor workflow are in CONTRIBUTING.md.

Contributing

See CONTRIBUTING.md. In short: nvm use (Node 20), npm install, and the pre-commit hook runs lint + tests. Adding a new state needs data and a config entry, not code changes.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages