Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stacked Bar Chart

Public visualization

Viewing a saved revision (read-only)

0fffdcd5950d48f28e09a73b054076c5

Fork of Stacked Bar Chart

0 stars0🌍 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.