Skip to main content
100%

Vega-Lite API Template

✓ Published8🌍 Public
CCurran Kelleher
Last edited Sep 9, 2020
Created on Sep 9, 2020

This example demonstrates a Vega-Lite API template for creating a scatterplot visualization. It plots engine displacement against horsepower, with point size encoding the count of cars at each binned coordinate pair. The visualization uses the `vega-lite-api` library to programmatically build the specification, fetching automobile data from a CSV file via `d3.csv`. The rendered chart incorporates a custom config for axis styling and tooltips via `vega-tooltip`, and automatically fits to the window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes