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)

9f708639a8974ee5b9b057583e93a563

Fork of Vega-Lite API Template

0 stars0🌍 Public
IIker-Navarro
Last edited Apr 9, 2021
Created on Apr 9, 2021

This example displays a scatter plot of automobile displacement against horsepower, with tooltips revealing model names. The visualization is built using the Vega-Lite API, which composes a point mark with quantitative fields and a nominal tooltip encoding. The code loads CSV data from a GitHub gist via D3’s `csv` function, then renders the chart using Vega’s SVG renderer. Dark theme styling and axis configurations are applied through a custom config object to improve readability.

AI-generated description

A visualization constructed using the vega-lite-api.