Skip to main content
100%

Vega-Lite API Template - Line Chart

✓ Published1🌍 Public
Nnicklaus-roy
Last edited Apr 12, 2021
Created on Apr 8, 2021

This example uses the Vega-Lite API to render a circular scatter plot showing the population of religious groups by country. The visualization encodes country on the x-axis, religion on the y-axis, and population as circle size, with a tooltip displaying religion names. It loads data from a CSV file using D3’s `csv` method, then configures the chart with custom axis and label styling from the `config` module. The Vega-Lite API registers with Vega and Vega-Lite libraries, and the chart is rendered as an SVG with a tooltip handler.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes