11.-Vega-Lite API 2
✓ Published0🌍 Public
This example visualizes San Francisco weekly temperature data as a single smooth area chart, with time on the x-axis and temperature on the y-axis. Built using the Vega-Lite API 2, the chart leverages `vl.markArea`, `vl.x().fieldT`, and `vl.y().fieldQ` to encode temporal and quantitative fields. It pulls data via `d3.csv` from a gist URL, registers Vega and Vega-Lite, and renders interactively with a tooltip handler, while custom axis and label styling improve readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed