Embed Widget — Hantavirus
Embed the tracker on your site
Add a live hantavirus outbreak tracker to any website with a single iframe snippet.
Basic embed
<iframe
src="https://hantavir.us.com/embed/stats"
width="100%"
height="400"
frameborder="0"
title="Hantavirus outbreak tracker"
loading="lazy"
></iframe>WordPress
In the WordPress block editor, add a Custom HTML block and paste the iframe code above. Alternatively, use the shortcode plugin:
[hantavirus_embed width="100%" height="400"]Substack
Substack supports iframe embeds. Paste the iframe code directly into your post editor. Set height to at least 400 for the full widget.
Medium
Medium does not support arbitrary iframes. Instead, use an embed link:
- Write your Medium post
- Press
Enterto create a new block - Paste:
https://hantavir.us.com/embed/stats - Medium will auto-embed the preview
Customisation
| Parameter | Values | Default | Description |
|---|---|---|---|
locale | en, ar, fr | en | Display language |
theme | light, dark, auto | auto | Colour scheme |
compact | true, false | false | Minimal KPI-only view |
Example with parameters
<iframe
src="https://hantavir.us.com/embed/stats?locale=ar&theme=dark"
width="100%"
height="400"
frameborder="0"
title="متتبع تفشي فيروس هانتا"
loading="lazy"
></iframe>