Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
VVilmer98
Last edited Aug 6, 2022
Created on Aug 6, 2022

This example presents a donut chart visualization of Auto MPG dataset records, showing the distribution of composers in the data. The visualization uses Vega-Lite API to construct an arc mark with theta encoding and count aggregation, styled with a pastel color scheme and semi-transparency. Data is loaded asynchronously via D3’s CSV parser from a GitHub Gist, and the chart is rendered with an SVG renderer configured through Vega-Lite, with tooltips enabled via Vega-Tooltip’s handler.

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