Skip to main content
100%

2nd Fork of Vega-Lite API Template

✓ Published1🌍 Public
NNicholas Francis O'Brien
Last edited Oct 6, 2022
Created on Oct 6, 2022

This example visualizes temperature readings over time using an area chart, with the x-axis mapping timestamps and the y-axis mapping temperature values. Tooltips display the temperature for each data point. Built with Vega-Lite and the Vega-Lite API, it uses D3’s `csv` loader to fetch data from a GitHub gist containing San Francisco week temperature records. The chart renders in SVG via Vega, applying custom axis and label styling from a configuration object, and resizes to fit the window.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes