Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

prop comparison

Public visualization

Viewing a saved revision (read-only)

02477a6ef3164ab692798a1257dd7c4d

prop comparison

0 stars1🌍 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