Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example uses the Vega-Lite API template to create a scatter plot of auto-mpg dataset attributes. It visualizes the relationship between engine displacement and horsepower, with vehicle name as a tooltip. The visualization configures axis styling and dark guide colors for readability, and loads data from a CSV URL using the `csv` function from D3. The code leverages the Vega-Lite API (`vl.markPoint`, `vl.x`, `vl.y`, `vl.tooltip`) to define the marks and encodings, rendered as an interactive SVG with the Vega tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed