Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of World Map Simple Francesca

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 Fork of World Map Simple Francesca

0
Ffsajedi22
Last edited Mar 15, 2023
Created on Mar 15, 2023

This example displays a world map where each country is colored according to its predominant religion, using data from a CSV file. The visualization fetches geographic boundaries from the `visionscarto-world-atlas` package and renders them with `d3.geoPath` and `d3.geoNaturalEarth1`. A `d3.scaleOrdinal` color scale maps religious categories to colors, while the `topojson-client` library converts the TopoJSON data into GeoJSON features for plotting.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed