🌍 Public
Viewing a saved revision (read-only)
a212dd64d47d42029a87a6a93645435f
Vega-Lite API Template
This example uses the Vega-Lite API to render a scatter plot of automotive data from a CSV file, mapping engine displacement to horsepower and coloring points by model year. The visualization is built programmatically by registering Vega-Lite with the `vl` API, fetching data via `d3.csv`, and applying custom axis and label styling from a config object. The chart is rendered as an SVG, with tooltips enabled through Vega Tooltip to display car names on hover.
AI-generated descriptionA visualization constructed using the vega-lite-api.