🌍 Public
Viewing a saved revision (read-only)
d4ef15d774a54c69a674099dd7bdd6f7
prop comparison
This visualization compares yes and no votes for Colorado Proposition 118 across counties using a stacked bar chart with pan and zoom capabilities. The bars display vote counts retrieved from a CSV dataset, with a color scale distinguishing between yesVotes (green) and noVotes (purple). Users can navigate the chart via d3.zoom(), which enables scaling between 1x and 30x and restricts panning to the chart’s extent. The SVG rendering includes rotated county labels, axes, and hidden tooltip functionality prepared for future interactivity. Data comes from the State of Colorado Elections Database.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Working stacked bar chart with zoom and pan
- additional features coming early next week