Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Practice 2

Public visualization

Viewing a saved revision (read-only)

9eed5158e3c44120bfa44169075f6246

Vega-Lite API Practice 2

0 stars0🌍 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.