🌍 Public
Viewing a saved revision (read-only)
dac8e0fa82fa459987bab2c9cfe9d887
Vega-Lite API Template
This example visualizes automobile data from a CSV file, plotting engine displacement against horsepower with point color encoding model year and point size encoding weight. Tooltips expose the vehicle name. It uses the Vega-Lite API to construct the specification, registering Vega, Vega-Lite, and Vega-Tooltip within a D3-based application, rendering to SVG. Data is loaded asynchronously via d3.csv, and the visualization is sized to fit the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.