🌍 Public
Viewing a saved revision (read-only)
571fbb657dbd43ebafae685d914a5c70
Fork of Working Zoom/Pan
This example demonstrates a zoomable and pannable stacked bar chart visualizing Colorado county election votes using d3.zoom with scaleExtent and translateExtent to constrain navigation. Data is loaded from external GeoJSON and CSV sources, then rendered using d3.stack, scaleBand, and scaleLinear. The implementation includes SVG clip paths, axis elements, and a tooltip module (svgGlobals.js) for showing vote details—though tooltip interactivity appears commented out in the main rendering code.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Working stacked bar chart with zoom and pan
- additional features coming early next week