Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

74781ca8a6744601b1cd1475c708efc4

Fork of Vega-Lite API Template

0 stars0🌍 Public
AAnthony Le
Last edited Aug 1, 2024
Created on Aug 1, 2024

This example visualizes the population distribution of religions by country, using a circle size to represent population counts. It shows data for multiple countries and religions, with a tooltip displaying the exact population on hover. The visualization is built with the Vega-Lite API, which is registered with Vega, Vega-Lite, and D3 in the browser. Data is loaded from a CSV file using d3.csv, and the view is rendered as an SVG that automatically fits the window size with a custom dark theme for labels and axes.

AI-generated description

A visualization constructed using the vega-lite-api.