Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example shows a scatterplot of automobile displacement against horsepower, with tooltips displaying car model names. The visualization is built using the vega-lite-api library, which registers Vega and Vega-Lite for rendering, while D3’s `csv` function loads the auto-mpg dataset. Point opacity is set to 0.1 to reveal overlapping data density. The plot resizes to fit the window and applies custom axis and label styling from a separate config file.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed