🌍 Public
Viewing a saved revision (read-only)
fa40815165fd4b75a5d8aeb38bf2316b
Fork of Vega-Lite API Template
This example visualizes the relationship between engine displacement and horsepower for a set of automobiles, with tooltips revealing the car name for each point. The visualization is built using the Vega-Lite API, which composes a scatter plot using `vl.markPoint()` with `fieldQ` encodings for the quantitative axes. Data is loaded asynchronously from a CSV file containing the auto-mpg dataset via `d3.csv`. The chart is rendered as SVG, with custom axis styling defined in a config object and interactive tooltips supplied by the vega-tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.