Skip to main content
100%

My First interaction with Vega-Lite API

✓ Published2🌍 Public
AAndre J Denais
Last edited Sep 5, 2020
Created on Sep 5, 2020

This visualization displays automobile data using Vega-Lite’s API, plotting the origin of each car against its horsepower as semi-transparent circles. The marks are heavily overlaid to reveal density patterns across the three origin regions. The example demonstrates how to construct a chart programmatically using the `vega-lite-api` library, which imports data from a CSV via d3’s `csv` method and renders through vega and vega-lite. Tooltips are enabled through the vega-tooltip handler, and the chart’s size adapts to the window dimensions with custom styling from a separate config file.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes