Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wc-risk-assessment-dashboard

Interactive screening dashboard for the World Cup 2026 threat-assessment protocol. Companion to:

This dashboard explains the values and lets users explore alternative screening decisions and add pathogens of their own.

index.html is a single self-contained file (data inlined). Open it with double-click or:

xdg-open index.html        # linux
explorer.exe index.html    # WSL → Windows

Rebuilding

Rscript scripts/extract_pathogens.R   # cached sheet → data/pathogens.json
scripts/build.sh                      # template + json → index.html

extract_pathogens.R reads the cached Risk Filtering RDS from the sibling wc-threat-assessment repo. Override the path with WC_RISK_FILTERING_RDS=/path/to/risk_filtering.rds.

Social preview

The link/share thumbnail (assets/og-preview.png, referenced by the og:image / twitter:image tags in the head) is rendered from og-card.html — a standalone 1200×630 card that reuses the page's palette, fonts, and branding. To regenerate after a branding change, screenshot the card at 2× and overwrite the asset, e.g.:

chrome --headless=new --window-size=1200,630 --force-device-scale-factor=2 \
       --screenshot=assets/og-preview.png file://$PWD/og-card.html

og:image needs an absolute URL, so the asset is served by GitHub Pages at …/IDCUP26-screening-dashboard/assets/og-preview.png (not inlined).

Repo layout

index.template.html      page chrome + render JS; data goes in __PATHOGEN_DATA__
data/pathogens.json      generated from the Risk Filtering sheet RDS cache
og-card.html             source for the social-preview image (→ assets/og-preview.png)
scripts/extract_pathogens.R   sheet RDS → normalized JSON
scripts/build.sh         template + json → index.html
assets/                  branding (ACCIDDA / Insight Net logos, og-preview.png)

Design

Visual chassis matches the InsightNet World Cup landing page (insightnet-us.github.io/InsightNet-WorldCup): Lato display titles + IBM Plex Sans / IBM Plex Mono, a pale-blue / midnight-indigo palette with a teal accent, a masthead brand stripe, and the InsightNet floral watermark band. Bucket colors (priority red / excluded green / under-eval amber) are re-tuned cooler to harmonize but keep their meaning. The watermark is inlined from assets/insightnet-watermark.png at build time via the __WATERMARK__ marker.

About

Interactive World Cup 2026 pathogen-risk screening dashboard.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages