Skip to main content
100%

Fork of Fork of Vega-Lite API Template

✓ Published0🌍 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.

MIT Licensed

Similar vizzes