Vega-Lite API Temperature Chart
This interactive chart displays San Francisco temperature trends over time, rendered as a thin line with tooltips that reveal exact temperature values on hover. Built using the Vega-Lite API, it leverages `vl.markLine`, `vl.x().fieldT`, and `vl.y().fieldQ` to encode the temporal and quantitative data, while `vega-tooltip`’s `Handler` provides the interactive popups. The visualization pulls CSV data from a GitHub gist via D3’s `csv` function, with styling customized through the `config` object. The chart resizes to fill the browser window using `autosize` and renders as SVG.
AI-generated descriptionA 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.
Start at 4:30:00