This fictional U.S. Election map was built with HTML, CSS & JavaScript/jQuery. The task here was to take a data set of election results and put them into an array that could be counted for each state and declare a winner at the state and national level. I then used a U.S. map jQuery plugin to attribute each vote count to a state and link the results to the CSS map to make it interactive. Each state begins grey and, on rollover, changes color according to the winning candidate or a tie. 
Back to Top