Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
Llscholz1
Last edited Apr 26, 2020
Created on Apr 26, 2020

This example renders a scatterplot of individual-level data, plotting age against the number of convictions, using the Vega-Lite API. The visualization is built with the `vega-lite-api` library, which wraps Vega-Lite specifications in JavaScript, and relies on D3’s `csv` loader to fetch data from a GitHub gist. Circle marks are configured with size and opacity, and scales disable zero baselines for both axes. The chart’s appearance is customized through a config object, and the final SVG output is generated with Vega.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes