PrefVoteViz How to use Javascript visualisationObject = $targetDiv.preVoteViz( data OR source for data OR options ); visualisationObject.play(); Options viewClass (only PrefVoteVizDoughnut availability) imageDir source (URL for election data) data (election data)