Skip to main content
100%

Vega-Lite API Template

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

This example presents a bar chart of prisoner convictions, showing the number of convictions for each offense category, sorted in descending order. Using the Vega-Lite API—built on Vega, Vega-Lite, and D3—the visualization renders data loaded via `d3.csv` from a GitHub-hosted CSV file. The chart is automatically sized to fit the browser window and incorporates custom axis, label, and title styling from a separate configuration object, along with a tooltip displaying exact conviction counts.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes