Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
MMarta
Last edited Mar 25, 2021
Created on Mar 25, 2021

This interactive scatter plot uses the Vega-Lite API to visualize stars from the Auto MPG dataset, plotting their distance from the sun against their magnitude. Each star is represented by a circular mark, with color encoding the star type and size reflecting its stellar class. The visualization loads data via `d3.csv`, configures axis styles and tooltips through the `vega-lite-api` and `vega-tooltip` Handler, and renders dynamically to the full browser window using `vl.markCircle().encode()`.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes