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)

779f704f99014640b4b887f3c58cce15

Fork of Vega-Lite API Template

0 stars0🌍 Public
SSamirAhma
Last edited Nov 24, 2022
Created on Nov 24, 2022

This example presents a bubble chart of religious affiliation by country, using circle size to encode population counts. It is built with the Vega-Lite API, demonstrating programmatic chart construction through chained method calls like `vl.markCircle()` and `vl.size().fieldQ('population')`. The visualization reads data from a CSV file via `d3.csv`, registers tooltips through `vega-tooltip`'s `Handler`, and renders as an SVG. The code configures axis styling and figure dimensions, with a dark color scheme for readability.

AI-generated description

A visualization constructed using the vega-lite-api.