Skip to main content
Public

Share visualization

Loading preview…

BMW Simple stacked Bar Chart

vizhub.com

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

Before sharing, review the publishing checklist.

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

BMW Simple stacked Bar Chart

0
BBismark Kofi Owusu Sarfo
Last edited Oct 1, 2025
Created on Oct 1, 2025

This stacked bar chart visualizes the top 10 most populous countries or areas from the UN Population Estimates dataset, with each bar representing a region's total population. Built with D3 v7 and React, the visualization uses d3-rosetta's unidirectional data flow pattern to manage state and rendering. The SVG bars are color-coded using a scaleOrdinal scheme, and clicking a bar triggers a state update that highlights the selection in orange. The chart includes rotated x-axis labels and axis titles generated through the d3 scaleBand and scaleLinear scales.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed