Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
PPratik Raja
Last edited Aug 5, 2024
Created on Aug 5, 2024

This example visualizes the relationship between engine displacement, horsepower, weight, and origin for a dataset of automobiles from the auto-mpg CSV file. A scatter plot displays displacement on the x-axis and horsepower on the y-axis, with color encoding car origin and size encoding weight, while tooltips reveal vehicle names. Built using the Vega-Lite API, it registers Vega and Vega-Lite, loads data with d3.csv, and renders an interactive SVG visualization with a custom dark theme and tooltip handler.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes