Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
DDeborah Ong
Last edited Apr 4, 2021
Created on Apr 3, 2021

A scatterplot of California crash data uses Vega-Lite's API to map vehicle makes and models against crash characteristics, with points colored by gender and sized by an unlabeled field. The visualization renders via SVG, with tooltips exposing first and last names of involved individuals. Data is fetched as CSV using d3.csv, while the Vega-Lite API specification, registered with vega and vega-lite, controls encoding channels, scales, and styling. The dark theme, configured in config.js, customizes axis tick colors and label fonts.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes