Skip to main content
100%

prop comparison

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

This example visualizes stacked bar charts comparing yes and no votes across Colorado counties, with tooltips revealing exact vote counts per county. The chart supports zooming and panning through D3’s zoom behavior, while bars are rendered as SVG rectangles. Vote data comes from a CSV file, and county boundaries are loaded from a GeoJSON file. The visualization uses D3 v4 scales such as `scaleBand` and `scaleLinear`, with `d3.json` and `d3.csv` for data loading.

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