Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
CChristian Rohrer
Last edited Jan 30, 2023
Created on Jan 30, 2023

This example visualizes automobile data by plotting car origins on the x-axis against horsepower on the y-axis, with the vehicle’s name available as a tooltip. Built using the vega-lite-api, it programs a scatter plot with semitransparent circular marks, configured to fit the entire viewport. The code loads an auto-mpg CSV dataset via D3’s `csv` method, registers Vega-Lite with a tooltip handler, and applies custom axis and label styling from a shared config module.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes