Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
VVishal Kumar
Last edited Apr 19, 2021
Created on Apr 19, 2021

This example creates a bar chart showing the population of countries by religion, using a fork of the Vega-Lite API template. It renders data from a remote CSV file via `d3.csv` and visualizes it with `markBar`, encoding the x-axis by country name, y-axis by population, and color by religion. The chart uses `vega-lite-api` with a custom config that adds red axis ticks and larger label fonts, while the tooltip is handled by `vega-tooltip`’s `Handler`.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes