Skip to main content
100%

Vega-Lite API Template subGuy

✓ Published0🌍 Public
SSubliminal_[var]
Last edited Jul 16, 2021
Created on Jul 16, 2021

This example uses the Vega-Lite API to render a GDP bar chart, displaying the raw data from the freeCodeCamp ProjectReferenceData repository. The visualization plots the data’s first field on the x-axis and the second on the y-axis, with tooltips showing the value. The chart is built with `vega-lite-api` and `vl.markBar()`, and configured with custom guide-label and guide-title styles from a `config.js` file. The visualization is rendered to SVG via `vega` and `vega-lite`, using `vega-tooltip` for interactivity, and it is sized to fit the browser window with `window.innerWidth` and `window.innerHeight`.

AI-generated description

An example starting point for working with Vega-Lite-API

MIT Licensed

Similar vizzes