Ep18: Vega-Lite API
✓ Published1🌍 Public
This visualization displays automobile data from a CSV file, plotting engine origin, horsepower, weight, and miles per gallon as a scatter plot with circles of varying size and color. The example highlights the convenience of the Vega-Lite API (vl) for declarative charting, which constructs and renders the specification. It uses vega-lite and vega to compile the spec, d3.csv for data ingestion, and vega-tooltip to provide interactive tooltips on hover. The chart is configured to fit the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed