Skip to main content
100%

Fork of Vega-Lite API Template

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

MIT Licensed

Similar vizzes