Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

2a1b2c218cfe4761a4e8338b754a7856

Fork of Fork of Vega-Lite API Template

0 stars0🌍 Public
Vvigneswaran009
Last edited May 11, 2021
Created on May 10, 2021

This visualization displays the relationship between car origin and horsepower, with each car represented as a circular mark and hover tooltips revealing the model name. The code uses the Vega-Lite API to define the scatterplot encoding, while D3’s `csv` function loads the auto-mpg dataset from a GitHub gist. The visualization renders as SVG with custom axis styling and tooltip handling via `vega-tooltip`, and it fits to the full window using autosize.

AI-generated description

A visualization constructed using the vega-lite-api.