Skip to main content
100%

Fork of Vega-Lite API - Line and Area

✓ Published0🌍 Public
Bboreilly26
Last edited Dec 30, 2021
Created on Dec 30, 2021
Forked from Vega-Lite API

This example uses the Vega-Lite API to create a scatterplot from automobile data, mapping origin, horsepower, weight, and mpg to visual channels. A semi-transparent circle mark with a configurable axis style renders the points, and a tooltip displays the vehicle name. The code registers Vega and Vega-Lite libraries, loads CSV data via d3.csv, and applies a custom configuration for fonts and tick colors. The visualization adapts to the window size with a fit autosize setting.

AI-generated description

A template for using Vega-Lite API.

MIT Licensed

Similar vizzes