Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the relationship between engine displacement, horsepower, weight, and origin for a dataset of automobiles from the auto-mpg CSV file. A scatter plot displays displacement on the x-axis and horsepower on the y-axis, with color encoding car origin and size encoding weight, while tooltips reveal vehicle names. Built using the Vega-Lite API, it registers Vega and Vega-Lite, loads data with d3.csv, and renders an interactive SVG visualization with a custom dark theme and tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed