Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Ffjvoris
Last edited Mar 5, 2023
Created on Mar 5, 2023

This visualization displays a scatterplot of automobile data, plotting engine displacement against horsepower for individual car models. Each point is rendered with low opacity to reveal density patterns, and hovering reveals the car’s name via tooltip. Built with the Vega-Lite API, it uses `vl.markPoint()` and `vl.encode()` to define the chart, with data loaded asynchronously via `d3.csv()` from a GitHub-hosted dataset. The code integrates Vega, Vega-Lite, and Vega-Tooltip, customizing axis styling through the `config` object.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes