🌍 Public
Viewing a saved revision (read-only)
360ce454453149e881d135c99092d5ac
Vega-Lite API Template
This example demonstrates a temperature-over-time visualization using an area mark. It plots weekly temperature readings for San Francisco, with time on the x-axis and temperature on the y-axis. The code builds the chart declaratively using the Vega-Lite API, registering it with Vega and Vega-Lite, and loads the dataset via d3.csv. The chart renders as an SVG, includes tooltips via Vega Tooltip, and applies custom axis and label styling from a shared config.
AI-generated descriptionA visualization constructed using the vega-lite-api.