Skip to main content
100%

Vega-Lite API Template

✓ Published1🌍 Public
CCurran Kelleher
Last edited Sep 5, 2019
Created on Sep 5, 2019

This visualization displays the population distribution of five countries across religions using a bubble chart. It is built with the vega-lite-api, which registers vega, vega-lite, and vega-tooltip to render the chart as SVG. The data is loaded asynchronously via d3.csv from a Gist URL, with each bubble’s size mapping to the population field. The chart fills the browser window and uses the vega-lite API’s markCircle method with encoded x and y fields for country and religion.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes