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.