# United States Election demo

The demo shows the results of United States presidential elections from 2008 to 2020.

## How to use

- The election year is selected by using the dropdown on the top left.
- Select the state on the map to view historical results.
- The state is deselected by clicking it again or clicking outside the map.
- When no state is selected, the national results are shown.

## Dashboards components

- Custom HTML and Chart for national or state results (with pictures and dual-colored bar).
- Custom HTML provides a dropdown for choosing the election year.
- Highcharts Maps shows the winning party per state, color-coded Democrat and Republican.
- Two Highcharts Chart show historical national or state results.
- grid shows detailed results of all states.

## Data sources

Wikipedia.com and the U.S. National Archives provide the data used in this demo.

Left
xxx to win
Right
Left
▾
Right

# U.S. Presidential Election

The 2020 United States presidential election was the 59th quadrennial presidential election, held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and the junior U.S. senator from California Kamala Harris defeated the incumbent Republican president, Donald Trump, and vice president, Mike Pence. https://en.wikipedia.org/wiki/2020_United_States_presidential_election Trump https://assets.highcharts.com/demos/samples/graphics/dashboards/election/trump.jpg Biden https://assets.highcharts.com/demos/samples/graphics/dashboards/election/biden.jpg The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket, businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state and First Lady of the United States Hillary Clinton and the junior senator from Virginia, Tim Kaine, in what was considered one of the biggest political upsets in American history. https://en.wikipedia.org/wiki/2016_United_States_presidential_election Trump https://assets.highcharts.com/demos/samples/graphics/dashboards/election/trump.jpg Clinton https://assets.highcharts.com/demos/samples/graphics/dashboards/election/clinton.jpg The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. Incumbent Democratic President Barack Obama and his running mate, incumbent Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin. https://en.wikipedia.org/wiki/2012_United_States_presidential_election Romney https://assets.highcharts.com/demos/samples/graphics/dashboards/election/romney.jpg Obama https://assets.highcharts.com/demos/samples/graphics/dashboards/election/obama.jpg The 2008 United States presidential election was the 56th quadrennial presidential election, held on November 4, 2008. The Democratic ticket of Barack Obama, the junior senator from Illinois, and Joe Biden, the senior senator from Delaware, defeated the Republican ticket of John McCain, the senior senator from Arizona, and Sarah Palin, the governor of Alaska. https://en.wikipedia.org/wiki/2008_United_States_presidential_election McCain https://assets.highcharts.com/demos/samples/graphics/dashboards/election/mccain.jpg Obama https://assets.highcharts.com/demos/samples/graphics/dashboards/election/obama.jpg