Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 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.

MIT Licensed

Similar vizzes