Skip to main content
100%

Fork of Vega-Lite API

✓ Published0🌍 Public
LLaura Jackson
Last edited Dec 19, 2021
Created on Dec 19, 2021

This example uses the Vega-Lite API to render a bar chart of population by country, with data loaded from a CSV file. The visualization encodes country names on the x-axis and population values on the y-axis, sorting bars by population size. The page imports Vega, Vega-Lite, and Vega-Lite API libraries, registers them together with Vega Tooltip for interactive hover details. Custom axis styling and font sizes from a config object improve readability, while the chart resizes to fit the window using the view’s width and height properties.

AI-generated description

use of vega lite - temperature

MIT Licensed

Similar vizzes