Fork of Working Zoom/Pan
✓ Published0🌍 Public
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
MIT Licensed