Skip to main content
100%

prop comparison

✓ Published0🌍 Public
Ooliverkendall99@gmail.com
Last edited Dec 11, 2024
Created on Dec 11, 2024
Forked from Working Zoom/Pan

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 description

An example showing the capabilities of VizHub:

  • Working stacked bar chart with zoom and pan
  • additional features coming early next week
MIT Licensed

Similar vizzes