Fork of Vega-Lite API Template
This example shows a time-series line chart of blood glucose (BG) readings from the SimGlucose simulator, mapped against time on the x-axis. The visualization is built using the Vega-Lite API as a declarative grammar, with the chart’s dimensions and fit behavior set to fill the browser window. It loads CSV data via `d3.csv` from a GitHub gist, and enhances the default axes and typography through a custom `config` object. The final SVG render is produced with Vega, Vega-Lite, and the vega-lite-api wrapper, while a tooltip is enabled via the vega-tooltip `Handler`.