Skip to main content
100%

Vega-Lite API Template

✓ Published6🌍 Public
CCurran Kelleher
Last edited Sep 5, 2019
Created on Sep 5, 2019

This example visualizes a week of temperature data from San Francisco as a line chart. The viz.js file defines the chart using the Vega-Lite API, encoding a temporal x-axis and quantitative y-axis with a tooltip, while config.js customizes the axes and typography for readability. The getData.js file loads the CSV data using d3.csv, and index.js registers Vega-Lite with vega-tooltip, renders the visualization to SVG, and fits it to the window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes