Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example displays a scatter plot of automobile data, showing the relationship between engine displacement and horsepower. Each circle represents a car model, with a tooltip revealing the vehicle’s name on hover. The visualization is built using the Vega-Lite API, with data loaded from a CSV via `d3.csv`. The code registers Vega and Vega-Lite, configures axis styles for readability, and renders the plot to fill the browser window using `vl.markCircle` and `vl.x().fieldQ`.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed