Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

a5426df4b0f14ec0abb01f342ff6ec73

Fork of Vega-Lite API Template

0 stars0🌍 Public
DDaniel Deverell
Last edited Oct 4, 2021
Created on Oct 4, 2021

This visualization displays temperature data over time as a filled area chart, with the y-axis encoding temperature and the x-axis encoding timestamps from the CSV dataset. Built with the Vega-Lite API, it uses `vl.x().fieldT()` and `vl.y().fieldQ()` for temporal and quantitative encodings, and includes a tooltip via `vega-tooltip`. The code fetches data using `d3.csv`, applies custom axis and label styling through a config object, and renders the chart to fill the browser 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.