Skip to main content
100%

Fork of Question 2

✓ Published0🌍 Public
LLakshmiPrasannaValdas@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Question 2

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes