Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

fb9d0d32667046ad86f1f89f64121a09

Vega-Lite API Template

0 stars0🌍 Public
DDjPendej0
Last edited Jun 17, 2020
Created on Jun 17, 2020

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 description

A visualization constructed using the vega-lite-api.