Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Kkevin-jake
Last edited Apr 6, 2022
Created on Apr 6, 2022

This example demonstrates a scatter plot of automobile performance data, using the Vega-Lite API to visualize the relationship between acceleration and horsepower for various car models. The visualization encodes each car as a point, with tooltips revealing the vehicle's name on hover. The code leverages the `vega-lite-api` library, which wraps Vega-Lite and Vega for declarative chart construction, and uses D3's `csv` function to fetch and parse the `auto-mpg.csv` dataset. The chart is configured with a dark theme and custom axis styling to improve readability, and it renders as an interactive SVG.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes