Skip to main content
Public

Share visualization

Loading preview…

Pseudo-Visualization Francesca Sajedi 2

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

Pseudo-Visualization Francesca Sajedi 2

2
Ffsajedi22
Last edited Feb 25, 2023
Created on Feb 6, 2023
Forked from Marks and Channels

This visualization uses fake data about the religious composition of four named countries ("one" through "four") to render a stacked bar chart. It encodes counts for Christianity, Islam, non-affiliation, Hinduism, Buddhism, folk religions, other religions, and Judaism using different colors from the d3 schemeCategory10 palette. The chart is built with d3.v7, using d3.stack to compute the stacked series, d3.scaleBand for the x-axis, and d3.scaleLinear for the y-axis. Axes are added via d3.axisBottom and d3.axisLeft, while the bars are positioned and sized through the xScale and yScale within the stacked bars. The code also shows a pseudo-visualization approach, with bundled JavaScript files and a simplified data structure rather than the original external source.

AI-generated description

This is a pseudo visualation of the religion by country data, getting the colors and bar plot with fake numbers.

Comments

Sign in to join the discussion.

MIT Licensed