Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

8d051458ef754584aafa718c37e6233c

Fork of Vega-Lite API Template

0 stars0🌍 Public
DDon-eime
Last edited Nov 3, 2021
Created on Nov 3, 2021

This example shows a time series line chart of weekly temperature data for San Francisco. The visualization uses a line mark to connect data points over time, with tooltips displaying the temperature value on hover. The chart is built using the Vega-Lite API, which constructs the visualization specification programmatically and renders it via the Vega rendering engine. The code imports data from a CSV file hosted on GitHub, and customizes the chart’s appearance through a configuration object that adjusts axis styling and font colors. The visualization automatically fits its width and height to the browser window, using d3’s CSV parser to load the dataset.

AI-generated description

A visualization constructed using the vega-lite-api.