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)

6e4b803d89814f23adb69604099effb9

Fork of Vega-Lite API Template

0 stars0🌍 Public
MMagarsa Gudeta
Last edited Jun 17, 2024
Created on Jun 17, 2024

This example depicts a scatter plot of automobile data, showing the relationship between engine displacement and horsepower, with tooltips revealing car names. Built with the Vega-Lite API, it uses `vl.markPoint` and `vl.encode` to define visual encodings, while D3’s `csv` loads the auto-mpg dataset. The chart is rendered as an SVG via Vega and Vega-Lite, with custom axis and label styling from the config file. Tooltips are handled by the Vega Tooltip handler.

AI-generated description

A visualization constructed using the vega-lite-api.