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)

b1f59f5ba4734dc591c7bed1df2194b7

Fork of Vega-Lite API Template

0 stars0🌍 Public
Eeleshaky
Last edited May 4, 2022
Created on May 4, 2022

This example displays a time-series line chart of weekly temperature data for San Francisco, using the Vega-Lite API to declare marks and encodings for time on the x-axis and temperature on the y-axis. The `getData.js` file loads CSV data from a remote URL via `d3.csv`, and the chart renders with a custom dark theme and tooltips. It leverages `vega`, `vega-lite`, `vega-lite-api`, and `vega-tooltip` to build the visualization in an SVG view.

AI-generated description

A visualization constructed using the vega-lite-api.