Skip to main content
100%

Vega-Lite API Template Area Chart

✓ Published0🌍 Public
MMilena Belianovich Holtman
Last edited Oct 12, 2022
Created on Oct 12, 2022

This example renders a Vega-Lite area chart of weekly temperature data for San Francisco. The visualization uses the vega-lite-api JavaScript library to define a markArea encoding with timestamp on the x-axis and temperature on the y-axis, both with zero-based scaling disabled. The chart is customized with config settings for axis labels and titles, and rendered as an SVG using vega, vega-lite, and vega-tooltip, with data loaded asynchronously via d3.csv. The view is sized to fill the browser window with a fit autosize type.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes