Skip to main content
100%

Vega-Lite API Temp Template

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

MIT Licensed

Similar vizzes