Vega-Lite API Temperature Area Chart
✓ Published1🌍 Public
This example visualizes weekly temperature data for San Francisco as a smooth area chart, with the y-axis mapping temperature values and the x-axis representing timestamps. It demonstrates the Vega-Lite API by programmatically constructing a chart specification using its method chaining, including `vl.markArea`, `vl.x().fieldT`, and `vl.y().fieldQ`. The visualization is rendered via Vega and Vega-Lite, with data loaded using d3.csv, and uses custom axis styling from a shared config plus a tooltip handler from Vega Tooltip.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed