Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

e438ac5026a84075aa75abdba4ee3843

Fork of Vega-Lite API Template

0 stars0🌍 Public
KKurt
Last edited Jan 27, 2022
Created on Jan 27, 2022

This example demonstrates an exponential decay curve plotted over time, with the x-axis represented as hourly timestamps and the y-axis showing decreasing values. The visualization uses Vega-Lite’s API to define a line mark with tooltips, while data is generated dynamically using `moment()` for dates and a custom exponential function. It loads auto-mpg CSV data via d3’s `csv` method, though the chart itself plots synthetic data. The rendering leverages Vega, Vega-Lite, and Vega-Lite API, with tooltip support from Vega-Tooltip, and applies custom axis and label styling from a configuration file.

AI-generated description

A visualization constructed using the vega-lite-api.