Skip to main content
100%

vega-lite-api

✓ Published0🌍 Public
Rriizevans
Last edited Aug 24, 2023
Created on Aug 24, 2023

This example demonstrates a scatter plot of automotive data, mapping engine displacement on the x-axis and horsepower on the y-axis, with tooltips revealing car model names. It is built using the vega-lite-api library, which provides a programmatic interface to Vega-Lite specifications. The code registers Vega and Vega-Lite, loads data from a CSV via d3.csv, and renders the visualization as an SVG. A custom configuration adjusts axis ticks and label styling.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes