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)

60ebda9e3a9646809f58a7ad0337291d

Fork of Vega-Lite API Template

0 stars0🌍 Public
Ccynichole
Last edited Feb 17, 2022
Created on Feb 17, 2022

This example shows a circle-marked visualization of religious populations by country, with circle size encoding population and both axes using categorical fields. The chart is built using the Vega-Lite API, which programmatically constructs a Vega-Lite specification, and renders to an SVG via Vega. The underlying data is loaded from a CSV using d3.csv, and the visualization includes tooltips through the vega-tooltip Handler. The code applies custom axis and label styling, and sets the chart to fit the full browser window.

AI-generated description

A visualization constructed using the vega-lite-api.