Skip to main content
100%

Vega-Lite API exploration

✓ Published0🌍 Public
AAleksandra Timofejeva
Last edited Jun 30, 2021
Created on Jun 30, 2021

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 description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes