Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
JJoakim Warholm
Last edited Jun 17, 2021
Created on Jun 17, 2021

This example streams weekly San Francisco temperature data from a CSV file into a Vega-Lite line chart, rendered as an SVG via the vega-lite-api and vega-tooltip libraries. The visualization uses `vl.markLine` with a time-encoded x-axis and quantitative y-axis, while `vl.x().fieldT()` and `vl.y().fieldQ()` define the encodings. Configuration in `config.js` removes axis domains, sets custom label fonts, and applies a dark color scheme. The code loads data with `d3.csv` and fits the chart to the full window size.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes