Fork of Fork of Vega-Lite API Template
✓ Published0🌍 Public
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.
MIT Licensed