Completed project from the class Skillcrush 102: JavaScript. While the HTML and CSS was provided by the class, I wrote the following JavaScript/Jquery: factory function for candidate info, votes per state array, function to reveal individual state and overall national results (candidate colors and vote tallies) on mouse hover.
Try out the map for yourself at http://lesleyhogg.com/electionmap.