My First interaction with Vega-Lite API
✓ Published2🌍 Public
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 descriptionA visualization constructed using the vega-lite-api.
MIT Licensed