Fork of Question 2
✓ Published0🌍 Public
This example presents an interactive stacked bar chart visualizing passenger reviews of British Airways, with population-like values aggregated by country and religion. A color legend allows users to hover over categories, highlighting matching segments in the chart while fading others. The visualization uses D3 v7 APIs including `scaleOrdinal`, `stack`, `flatRollup`, and `scaleBand`, with `@curran/responsive-axes` for layout. Data is loaded from a local CSV file, and interactivity is managed through `setState` and `observeResize`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed