Skip to main content
100%

Fork of Stacked Bar Chart

✓ Published0🌍 Public
EEd Smale
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Stacked Bar Chart

This forked stacked bar chart visualizes the distribution of religious populations across 21 countries. The code uses D3 v3 to create an SVG-based visualization with nested data, d3.layout.stack for bar stacking, and d3.legend for the color scale. Interactive hover states filter and highlight individual religious groups.

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