Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Temp Template

Public visualization

Viewing a saved revision (read-only)

4f33e0968c0e4067b444694999503ab3

Vega-Lite API Temp Template

0 stars0🌍 Public
JJoe Hutchins
Last edited Feb 18, 2022
Created on Feb 18, 2022

This example visualizes temperature trends over time using a filled area chart. The visualization is built with the vega-lite-api library, which wraps the Vega-Lite grammar for programmatic chart specification, and renders through Vega with SVG output. Data is loaded asynchronously from a CSV file using d3.csv, showing temperature values on the y-axis and timestamps on the x-axis. The chart includes tooltips for individual data points, custom axis styling from a configuration object, and adapts to fit the browser window dimensions.

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.