Vega-Lite Timeseries Data
✓ Published0🌍 Public
This example visualizes weekly temperature data for San Francisco as a smooth, semi-transparent area chart, with time on the x-axis and temperature on the y-axis. Hovering reveals the exact temperature via a tooltip. The visualization is built declaratively using the Vega-Lite API, with `vl.markArea` and encodings for timeline and quantitative scales. D3’s `csv` loader fetches the data from a remote GitHub URL, while Vega, Vega-Lite, and Vega-Tooltip handle rendering and interactions. Custom styling is applied through a configuration object that adjusts axis fonts and colors.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed