Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
Llinkshady
Last edited Oct 20, 2020
Created on Oct 20, 2020

This example visualizes the top religions by country from a CSV dataset, using grouped bars to compare population counts across countries. It employs the Vega-Lite API to construct the chart, with D3.js loading the data and Vega-Tooltip providing interactive hover details. The visualization uses a dark theme with custom axis and label styling, rendering to SVG and fitting itself to the full browser window. The code also demonstrates registering Vega, Vega-Lite, and the API together for a streamlined charting workflow.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes