Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example uses the Vega-Lite API to render a bar chart from CSV data, with a custom dark theme applied through configuration. The visualization is built declaratively in `viz.js` using `vl.markBar()`, mapping fields `a` and `b` to the x and y axes, while `index.js` orchestrates the data loading via D3’s `csv` function and registers Vega-Lite with tooltip support. The chart is sized to fill the viewport using the `autosize` directive, with axis and label styling customized in `config.js` for readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed