Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
KKeyan
Last edited Jan 14, 2025
Created on Jan 14, 2025

This example visualizes temperature data with a Vega-Lite area chart, encoding timestamps on the x-axis and temperature values on the y-axis. The visualization is built using the `vega-lite-api` JavaScript library, which registers with `vega` and `vega-lite` to render SVG output. Data is loaded asynchronously from a CSV URL via `d3.csv`, and the chart is configured to fit the full window size. A custom `config` object adjusts axis and label styling for readability, and tooltips are enabled through `vega-tooltip`. The underlying dataset is used from the UCI Machine Learning Repository.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes