🌍 Public
Viewing a saved revision (read-only)
ae75f69b21f34fd3b0ba6099fd160fd2
Vega-Lite API exploration
This visualization explores the Vega-Lite API by rendering an interactive scatter plot of automobile data from a CSV file, showing the relationship between miles per gallon and horsepower, colored by country of origin. The code uses the `vega-lite-api` library alongside `vega` and `vega-lite` to construct the chart declaratively, with `d3` for data loading. It renders as SVG, applies a custom configuration for axis styling, and includes tooltips via `vega-tooltip` to display car names on hover.
AI-generated descriptionA visualization constructed using the vega-lite-api.