Vega-Lite API Template - Line Chart
✓ Published1🌍 Public
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 descriptionA visualization constructed using the vega-lite-api.
MIT Licensed