Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
FFlamur
Last edited Dec 17, 2021
Created on Dec 17, 2021

This example displays a scatter plot of automobile engine displacement against horsepower, with a tooltip revealing the vehicle name when hovering over each point. Built with the Vega-Lite API, the visualization uses D3.js for data loading via `d3.csv`, pulling the auto-mpg dataset from a GitHub Gist. The code registers Vega and Vega-Lite, configures custom axis and label styling, and relies on `vl.markPoint` with encoded quantitative fields to generate the interactive SVG output.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes