Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork 4 of Vega-Lite API Template

Public visualization

Fork 4 of Vega-Lite API Template

0 stars0🌍 Public
Iiffath.namira@csedge.org
Last edited Jan 10, 2025
Created on Jan 10, 2025

This example displays a line chart of temperature readings over time, rendered as a single thick line across the full viewport. The visualization is built using the Vega-Lite API, with the chart specification defined in `viz.js` via `vl.markLine` and encodings for a temporal x-axis and quantitative y-axis. Data is loaded from a remote CSV file using D3’s `csv` function in `getData.js`. The rendering pipeline registers Vega, Vega-Lite, and a tooltip handler in `index.js`, with axes and label styling customized in `config.js`.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed