Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

vega-lite-api

Public visualization

vega-lite-api

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed