Skip to main content
Public

Share visualization

Loading preview…

Stacked Bar Chart with Interactive Legend Highlighting

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Viewing a saved revision (read-only)

l-_gjEZGmRLmvhBisfgEo

Stacked Bar Chart with Interactive Legend Highlighting

0 stars0Public
CCurran Kelleher
Last edited Nov 9, 2026
Created on Nov 9, 2026

Created from react-d3-starter template

Daily Pull Requests: VizHub AI Studio and VZCode

A responsive stacked bar chart of daily pull-request counts over the date range in the source filename. The visualization loads the supplied dataset at runtime.

Dataset

vizhub_vs_vzcode_daily_pull_requests_2026-10-15_to_2026-11-09.csv

The CSV is loaded from /data/vizhub_vs_vzcode_daily_pull_requests_2026-10-15_to_2026-11-09.csv with D3's CSV parser. Its columns are:

  • date_utc — UTC date associated with the reported counts.
  • vizhub_ai_studio_pull_requests — daily VizHub AI Studio pull-request count.
  • vzcode_pull_requests — daily VZCode pull-request count.

The exact event and aggregation definitions are not provided.

Visualization mappings

  • Type: Stacked bar chart.
  • Horizontal position: date_utc, one bar per date.
  • Vertical position: Daily pull-request count; the total bar height is the sum of both series.
  • Stack segments: VizHub AI Studio and VZCode counts, distinguished by color and a labeled color legend.
  • Color legend: A reusable colorLegend component placed in the upper-right corner of the chart, rendering a color swatch and label for each series using an ordinal color scale and D3 data joins. Hovering a legend item emphasizes its series.
  • Interaction: Hover over a segment to see its series, date, and count; hover a legend item to emphasize its series.
  • Responsive behavior: SVG viewBox and resize observation adapt the chart to its display width.

References