2026 GENERAL ELECTION

Election race map embeds

One interactive all-races map, plus individual map embeds for each of the 15 races tracked by The Beacon.

UNOFFICIAL ELECTION RESULTS Maps will display unofficial 2026 returns as counties release results. These standalone map embeds are separate from the reporting dashboard.

FOR THE BEACON EDITORS

How to use

  1. For an interactive map with a race selector, use Copy all-races iframe in the first section. Readers can choose any of the 15 races, including on mobile.
  2. To feature one specific race, find it below. Choose Precinct results, County results (where available) or District overview.
  3. Click Preview map to check how the interactive map looks. Only one map preview is loaded at a time.
  4. Click Copy iframe code. In WordPress, add a Custom HTML block where the map should appear and paste the code.
  5. Repeat for any other races you want to feature. Preview the WordPress post to confirm the iframes display correctly.

Iframe code points to the published GitHub Pages map viewer; local previews use your PyCharm server. Publish the map viewer and data before placing these embeds in a live article. Some WordPress roles or configurations restrict iframe HTML.

FEATURED MAP

Interactive map: All 15 races

One responsive map with race and geography selectors built in. Visitors can switch among all tracked contests without leaving the article. Governor results cover Bucks County only.

Open standalone map

Paste into a WordPress Custom HTML block. The embed stretches to the article width, and its selectors stack on mobile screens.

Loading race maps...