Fork of Vega-Lite API Template
✓ Published0🌍 Public
This visualization uses the Vega-Lite API to render a bar chart of the auto-mpg dataset, with bars representing origin categories and encoding horsepower on the y-axis, mpg through size, and color by origin. Hovering reveals car names via a tooltip. The code imports data through D3’s CSV loader, registers Vega and Vega-Lite via the vega-lite-api library, and configures axis styling and tooltip handling in the provided config.js and index.js files.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed