Skip to main content
100%

Vega-Lite API Temperature

✓ Published1🌍 Public
MMarta
Last edited Feb 5, 2023
Created on Feb 5, 2023

This example visualizes a week of San Francisco temperature readings as a smooth line chart, with a tooltip that reveals the exact temperature at each point. The visualization is constructed programmatically using the Vega-Lite API, with vega, vega-lite, and vega-tooltip handling rendering and interaction. Data is loaded asynchronously from a CSV file via `d3.csv`. The chart fills the browser window, and its axes and labels are customized through a configuration object to improve readability against a dark color scheme.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes