Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example uses the Vega-Lite API to create a scatter plot of the auto-mpg dataset, showing the relationship between miles per gallon and horsepower, with color encoding by origin and size by horsepower. The visualization renders as an SVG, leveraging D3 and Vega-Lite for chart construction and encoding, and uses Vega-Tooltip for interactive data tooltips. The plot is configured for automatic resizing and includes custom axis styling for improved readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed