Embeds
Election cards you can put on your own site. Free for anyone, as long as the credit line stays under the card.
How to use them
- Copy the code, paste it into your page, and leave the credit line alone. It names who published the data and links back to the page it came from.
- News sites, schools, campaigns and anyone else can use them at no cost. Our compilation is CC BY 4.0. Poll numbers come from VoteHub under CC BY 4.0, and each card names its pollsters.
- The cards follow the reader’s light or dark setting. Add
?theme=darkor?theme=lightto the address to fix one. - The numbers refresh when our data files do, so a card you paste today keeps up.
Phone-sized cards
Up to 640 pixels wide. They fit a phone screen and an article column.
Race card
Who is on the ballot for one race. When enough polls are out, it adds our average of published polls and names each pollster.
Addresses: /embed/race-card/ga/us-senate, /embed/race-card/ga/governor, /embed/race-card/ga/congress/10. Swap in any state or district. Open the example.
<iframe src="https://www.electionwrld.com/embed/race-card/ga/us-senate" title="Race card" width="100%" height="460" style="border:0;max-width:640px" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/ga/us-senate">Election Wrld</a>. Compilation: CC BY 4.0</p>Poll closing, one state
When polls close in one state on Nov 3, in local time with Eastern beside it, with the state's own source.
Address: /embed/poll-closings/ga. Swap in any state. Open the example.
<iframe src="https://www.electionwrld.com/embed/poll-closings/ga" title="Poll closing, one state" width="100%" height="300" style="border:0;max-width:640px" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/ga/poll-closing">Election Wrld</a>. Compilation: CC BY 4.0</p>US House district
Who holds the seat, the last result on file and the next election, with a small locator map.
Address: /embed/va/congress/7. Swap in any state or district. Open the example.
<iframe src="https://www.electionwrld.com/embed/va/congress/7" title="US House district" width="100%" height="420" style="border:0;max-width:640px" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/va/congress/7">Election Wrld</a>. Compilation: CC BY 4.0</p>Wide views
Built for a full-width page or a screen recording. Below 900 pixels wide the early vote and poll closing views reflow for a phone. More on these on the developers page.
Race with polls over time
One race with the candidates, the newest poll and every published poll on a chart. Laid out 16:9 and scaled to fit, so it also works in a video.
Addresses: /embed/race/ga/us-senate, /embed/race/ga/governor, /embed/race/ga/congress/10. Swap in any state or district. Open the example.
<iframe src="https://www.electionwrld.com/embed/race/ga/us-senate" title="Race with polls over time" width="100%" style="border:0;aspect-ratio:16/9;height:auto" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/ga/us-senate">Election Wrld</a>. Compilation: CC BY 4.0</p>Early vote, one state
A state's early ballot count with its county map, as of the date its election office last updated it.
Address: /embed/early-vote/NC. Swap in any state. Open the example.
<iframe src="https://www.electionwrld.com/embed/early-vote/NC" title="Early vote, one state" width="100%" height="640" style="border:0;max-width:640px" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/early-vote/NC">Election Wrld</a>. Compilation: CC BY 4.0</p>Poll closings, every state
Every state's closing time on one screen, in Eastern time.
Address: /embed/poll-closings. Open the example.
<iframe src="https://www.electionwrld.com/embed/poll-closings" title="Poll closings, every state" width="100%" height="640" style="border:0;max-width:640px" loading="lazy"></iframe>
<p style="font-size:13px">Data: <a href="https://www.electionwrld.com/election-night">Election Wrld</a>. Compilation: CC BY 4.0</p>