Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the distribution of the world’s top five religions across countries using a bubble chart, where each circle’s size represents population. The visualization is built with Vega-Lite’s API, leveraging `vl.markCircle` for the marks and encoding position by country and religion, with `vl.size().fieldQ('population')` for scaling. Data is loaded asynchronously via `d3.csv` from a GitHub-hosted CSV file, and the chart is rendered to SVG through `vega` and `vega-lite` with a custom tooltip from `vega-tooltip`. A custom `config.js` adjusts font sizes and colors for readability.
AI-generated descriptionMIT Licensed