Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Xxieyaoyue
Last edited May 13, 2022
Created on May 13, 2022

This example shows an interactive scatterplot of automobile data, plotting engine displacement against horsepower for individual car models. Each point represents a vehicle, with tooltips revealing the car’s name on hover. The visualization uses the Vega-Lite API to declare the chart specification, while D3’s `csv` function loads the auto-mpg dataset from a GitHub gist. The rendering relies on Vega and Vega-Lite scripts, with a custom dark-themed configuration for axis labels and titles, and the chart automatically fits the browser window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes