🌍 Public
Viewing a saved revision (read-only)
978d53f42a1c46f999f4a4a5acde16ea
Vega-Lite API Template
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 descriptionA visualization constructed using the vega-lite-api.