Embeds · for site owners

Drop a poll into your post.

Five widget types. Auto-resize via postMessage. Light + dark themes. One-click iframe HTML. Free, no API key, attribution back to PoliAgg.

RACE
/race
Race rating + sparkline
320×140 · 480×220 · 720×280
TOPIC
/topic
Topic latest reading
320×120 · 480×180
POLLSTER
/pollster
Pollster scorecard
320×160 · 480×220
CONTROL
/control
Chamber control percentages
480×180 · 720×260
MAP
/map
Senate / Governors map
720×440 · 1080×680
1 · Pick

Search any race, topic, pollster, or chamber. Choose a size and theme.

2 · Copy iframe
<iframe src="https://poliagg.com/embed/race/nc-sen-2026?theme=light"
        width="480" height="220" frameborder="0"></iframe>
Map embeds
2026 Senate map
Embed this on your site
Paste the snippet below into any HTML page. The iframe is sandboxed; styling auto-adapts to the host's light/dark scheme.
Preview embed →
HTML snippet
<iframe src="https://poliagg.local/embed/map/senate" width="100%" height="780" style="border:0; max-width:100%;" loading="lazy" title="2026 Senate map — PoliAgg" data-pa-embed="1"></iframe>
<script>
window.addEventListener("message", function (e) {
  if (!e.data || e.data.type !== "pa-embed-resize") return;
  document.querySelectorAll('iframe[data-pa-embed]').forEach(function (f) {
    if (f.src && f.src.indexOf(e.data.path) !== -1) f.style.height = e.data.height + "px";
  });
});
</script>
Embed URL only
https://poliagg.local/embed/map/senate
Free to embed with attribution. Embeds link back to the full page on click.
2026 Governors map
Embed this on your site
Paste the snippet below into any HTML page. The iframe is sandboxed; styling auto-adapts to the host's light/dark scheme.
Preview embed →
HTML snippet
<iframe src="https://poliagg.local/embed/map/governor" width="100%" height="780" style="border:0; max-width:100%;" loading="lazy" title="2026 Governors map — PoliAgg" data-pa-embed="1"></iframe>
<script>
window.addEventListener("message", function (e) {
  if (!e.data || e.data.type !== "pa-embed-resize") return;
  document.querySelectorAll('iframe[data-pa-embed]').forEach(function (f) {
    if (f.src && f.src.indexOf(e.data.path) !== -1) f.style.height = e.data.height + "px";
  });
});
</script>
Embed URL only
https://poliagg.local/embed/map/governor
Free to embed with attribution. Embeds link back to the full page on click.
Chamber-control badges
Senate 2026
Embed this on your site
Paste the snippet below into any HTML page. The iframe is sandboxed; styling auto-adapts to the host's light/dark scheme.
Preview embed →
HTML snippet
<iframe src="https://poliagg.local/embed/control/senate" width="100%" height="220" style="border:0; max-width:100%;" loading="lazy" title="Senate 2026 — PoliAgg" data-pa-embed="1"></iframe>
<script>
window.addEventListener("message", function (e) {
  if (!e.data || e.data.type !== "pa-embed-resize") return;
  document.querySelectorAll('iframe[data-pa-embed]').forEach(function (f) {
    if (f.src && f.src.indexOf(e.data.path) !== -1) f.style.height = e.data.height + "px";
  });
});
</script>
Embed URL only
https://poliagg.local/embed/control/senate
Free to embed with attribution. Embeds link back to the full page on click.
House 2026
Embed this on your site
Paste the snippet below into any HTML page. The iframe is sandboxed; styling auto-adapts to the host's light/dark scheme.
Preview embed →
HTML snippet
<iframe src="https://poliagg.local/embed/control/house" width="100%" height="220" style="border:0; max-width:100%;" loading="lazy" title="House 2026 — PoliAgg" data-pa-embed="1"></iframe>
<script>
window.addEventListener("message", function (e) {
  if (!e.data || e.data.type !== "pa-embed-resize") return;
  document.querySelectorAll('iframe[data-pa-embed]').forEach(function (f) {
    if (f.src && f.src.indexOf(e.data.path) !== -1) f.style.height = e.data.height + "px";
  });
});
</script>
Embed URL only
https://poliagg.local/embed/control/house
Free to embed with attribution. Embeds link back to the full page on click.
Governors 2026
Embed this on your site
Paste the snippet below into any HTML page. The iframe is sandboxed; styling auto-adapts to the host's light/dark scheme.
Preview embed →
HTML snippet
<iframe src="https://poliagg.local/embed/control/governor" width="100%" height="220" style="border:0; max-width:100%;" loading="lazy" title="Governors 2026 — PoliAgg" data-pa-embed="1"></iframe>
<script>
window.addEventListener("message", function (e) {
  if (!e.data || e.data.type !== "pa-embed-resize") return;
  document.querySelectorAll('iframe[data-pa-embed]').forEach(function (f) {
    if (f.src && f.src.indexOf(e.data.path) !== -1) f.style.height = e.data.height + "px";
  });
});
</script>
Embed URL only
https://poliagg.local/embed/control/governor
Free to embed with attribution. Embeds link back to the full page on click.

Races

Pick a race on the left to preview the embed and copy the snippet.

Topics

Pick a topic on the left to preview the embed and copy the snippet.

Pollsters

Pick a pollster on the left to preview the embed and copy the snippet.