Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

1 star0🌍 Public
IIlyas Filali
Last edited Sep 16, 2022
Created on Sep 16, 2022

This visualization uses the Vega-Lite API to render a bar chart of the auto-mpg dataset, with bars representing origin categories and encoding horsepower on the y-axis, mpg through size, and color by origin. Hovering reveals car names via a tooltip. The code imports data through D3’s CSV loader, registers Vega and Vega-Lite via the vega-lite-api library, and configures axis styling and tooltip handling in the provided config.js and index.js files.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed