Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working Zoom/Pan

Public visualization

Viewing a saved revision (read-only)

bd05b733472544d59cd00ce9ea1147bb

Working Zoom/Pan

0 stars3🌍 Public
Ooliverkendall99@gmail.com
Last edited Dec 16, 2024
Created on Dec 5, 2024
Forked from Working Zoom/Pan

A choropleth-style stacked bar chart displays Colorado county voting results from a local CSV dataset, with each bar split into yes and no votes. Users can interactively zoom and pan across the chart using D3's zoom behavior, which updates the SVG visualization in real time. The chart uses d3.stack to create layered bars, d3.scaleBand for county positioning, and d3.scaleLinear for vote counts. Tooltips appear on hover, showing county names and vote tallies loaded from the external CSV file.

AI-generated description

An example showing the capabilities of VizHub:

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