Skip to main content
Public

Share visualization

Loading preview…

Fork of Vega-Lite API Template

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

Fork of Vega-Lite API Template

0
JJoachim Klug
Last edited Apr 12, 2021
Created on Apr 12, 2021

A stacked bar chart displays the distribution of religious affiliations across countries, using a dataset of the top 20 countries by religious population. The visualization is built with the Vega-Lite API, which constructs a specification rendered by Vega, and incorporates D3 for data loading. The chart encodes country on the x-axis, population on the y-axis, and religion as color, with tooltips showing religion details. The design is customized via a config object for axis and label styling, and the visualization fills the browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed