Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
CChaz
Last edited Jan 18, 2022
Created on Jan 18, 2022

This visualization displays temperature data as a shaded area chart, with temperature on the y-axis and timestamp on the x-axis. The example demonstrates the Vega-Lite API, where the visualization specification is built programmatically using `vl.markArea()`, `vl.x().fieldT()`, and `vl.y().fieldQ()` methods, rather than a static JSON spec. It registers Vega and Vega-Lite libraries, uses a custom dark-themed configuration for axes and labels, and loads CSV data from a remote URL via `d3.csv`.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes