Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Testing Vega-Lite API

Public visualization

Viewing a saved revision (read-only)

6a1b63d8f16741e8801b1744b07a02f7

Testing Vega-Lite API

0 stars0🌍 Public
Eekorre1001
Last edited Mar 21, 2021
Created on Mar 20, 2021

This visualization uses the Vega-Lite API to render a circular mark plot of religious demographics by country. It encodes country on the x-axis, population on the y-axis, and religion as the size of each circle, with tooltips displaying population values on hover. The data is loaded asynchronously from a CSV file via d3.csv, and the visualization is configured with custom axis and label styling. The Vega-Lite API registers with Vega and Vega-Lite libraries, rendering to SVG with an automatic fit to the viewport dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.