Skip to main content
100%

Fork of Vega-Lite API

✓ Published0🌍 Public
MMichael Bergerson
Last edited Dec 26, 2020
Created on Dec 24, 2020

This example shows a line chart of temperature over time, styled for a clean, dark-on-light appearance with large axis labels and a tooltip that displays temperature values. The visualization is built entirely through the Vega-Lite API, using `vl.markLine`, `vl.x().fieldT()`, and `vl.y().fieldQ()` to encode the data, which is loaded from a CSV file via D3’s `csv` function. It registers Vega, Vega-Lite, and the Vega-Tooltip handler, then renders an SVG with automatic resizing to fit the window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes