Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
KK3zter
Last edited Dec 16, 2021
Created on Dec 16, 2021

This visualization uses the Vega-Lite API with D3 to render a bubble chart showing the top five religions by country. It plots countries on the x-axis and religions on the y-axis, with circle size encoding population on a logarithmic scale. The chart is built with `vl.markCircle` and encodes fields via `vl.x().fieldN()`, `vl.y().fieldN()`, and `vl.size().fieldQ()`. Data is loaded asynchronously from a CSV using D3’s `csv` function, and the visualization is configured with custom axis and label styling from a config object.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes