🌍 Public
Fork of Vega-Lite API Template
This example uses the Vega-Lite API to render a scatter plot of automobile data from a CSV file, mapping engine displacement to the x-axis, horsepower to the y-axis, model year to color, and weight to point size. The visualization is built programmatically with `vl.markCircle`, `vl.x`, `vl.y`, and related encoding methods, then rendered as an SVG via Vega-Lite’s `render` method. It incorporates D3’s `csv` loader for data ingestion and a custom configuration for axis styling and tooltips.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.