Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
LLeandro Da Souza
Last edited Mar 24, 2021
Created on Mar 24, 2021

This example shows a line chart of daily temperature readings from San Francisco over a week. The visualization is built by combining the Vega-Lite API and D3, with `vl.markLine` defining the encoding and `getData` fetching the CSV from a GitHub gist. The chart uses `vega`, `vega-lite`, and `vega-lite-api` to render an interactive SVG, includes a custom dark-themed config, and enables tooltips via `vega-tooltip`.

AI-generated description

A visualization constructed using the vega-lite-api.

LINE CHART BEBE

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