🌍 Public
Viewing a saved revision (read-only)
cb19c78c54d94699b7190055fd8ef460
Fork of Fork of Vega-Lite API Template
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 descriptionA visualization constructed using the vega-lite-api.