Skip to main content
100%

Vega-Lite API Practice 2

✓ Published0🌍 Public
JJames Rhodes
Last edited Feb 13, 2022
Created on Feb 13, 2022

This example visualizes weekly temperature data for San Francisco as a single smoothed line, with each point’s exact value accessible via tooltip. It uses the Vega-Lite API to declaratively encode the timestamp and temperature fields, while the `d3.csv` loader fetches the data from a GitHub gist. The chart is styled with a custom configuration that removes axis domains and increases font sizes, and it renders as a full-window, responsive SVG via `vega-lite-api` with `vega-tooltip` for interactivity.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes