Niko's Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example renders an interactive scatter plot of the classic auto-mpg dataset, sourced from a CSV via D3’s `csv` function. Each point represents a car, with engine origin on the x-axis, horsepower on the y-axis, weight mapped to color, mpg to symbol size, and a tooltip showing the model name. Built with the Vega-Lite API wrapper, it registers Vega and Vega-Lite, configures an SVG view with a custom dark theme, and uses a D3-based handler for tooltip interaction. The visualization auto-fits to the window dimensions.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed