🌍 Public
Viewing a saved revision (read-only)
3a330f182ac049238300ec0487f55b88
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.