🌍 Public
Viewing a saved revision (read-only)
fb9d0d32667046ad86f1f89f64121a09
Vega-Lite API Template
This example displays a line chart of miner deaths over time, using a thick semi-transparent stroke that emphasizes the overall trend and peaks. It builds the visualization declaratively with the Vega-Lite API (`vl.markLine`), while D3’s `csv` loads the external dataset from a GitHub gist. The chart is configured via a shared `config` object, and the view is rendered as an SVG with tooltip support from `vega-tooltip`, all initialized through `vl.register`.
AI-generated descriptionA visualization constructed using the vega-lite-api.