Skip to main content
100%

Vega-Lite API Template - linechart

✓ Published1🌍 Public
Llaplantalaplanta
Last edited Jan 20, 2022
Created on Jan 20, 2022

This line chart visualizes daily temperature trends using the Vega-Lite API, which programmatically defines a line mark with encoded temporal x-values and quantitative y-values. Data is loaded asynchronously via D3’s `csv` parser from a San Francisco temperature dataset. The example demonstrates a minimal Vega-Lite specification, with tooltips enabled through vega-tooltip and custom axis styling in a separate config file. It integrates Vega, Vega-Lite, and the Vega-Lite API libraries, rendering to SVG and fitting the full browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes