Skip to main content
100%

Jack's Vega-Lite API Template

✓ Published0🌍 Public
Jjackcaldwellnichols
Last edited Nov 7, 2023
Created on Nov 7, 2023

This example demonstrates a bar chart of U.S. state populations in 2014, with bars sized and colored by state and sorted by population. The visualization is built using the Vega-Lite API, which is registered with Vega and Vega-Lite, and rendered as SVG via D3. It fetches CSV data from a Gist, applies a custom configuration for axis and label styling, and uses vega-tooltip for interactive hover details. The chart fills the entire browser window and updates its dimensions dynamically.

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