Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
AAnibal Gatica
Last edited Sep 18, 2022
Created on Sep 17, 2022

This example shows a bar chart of population by country for 2015, with bars sorted in ascending order and tooltips displaying population values on hover. It is built using the Vega-Lite API, which registers Vega and Vega-Lite libraries to create the visualization programmatically. The code loads CSV data via d3.csv and renders the chart as an SVG, applying a custom configuration for axis styling and label fonts. The visualization is designed to fit the full browser window using an autosize fit option.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes