Vega-Lite API Template
✓ Published8🌍 Public
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 descriptionA visualization constructed using the vega-lite-api.
MIT Licensed