Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Vega-Lite API Template

0 stars0🌍 Public
Jjanneprice
Last edited Mar 23, 2022
Created on Mar 23, 2022

This example demonstrates a Vega-Lite API template that renders an interactive bubble chart showing the population of religious groups by country. The visualization uses circular marks whose size encodes population values, with country on the x-axis and religion on the y-axis, and displays tooltips when hovering over marks. The code loads CSV data from a GitHub gist, applies custom axis and label styling through a config object, and renders the chart using the Vega-Lite API integrated with Vea, Vega-Lite, and the Vega Tooltip handler. The chart automatically fits to the browser window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed