Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the Iris flower dataset, plotting sepal length against sepal width as a scatter plot with points colored by species class. Hovering over a point reveals its class via a tooltip. The visualization is built using the Vega-Lite API for D3, with `vl.markCircle`, `vl.x().fieldQ`, and `vl.y().fieldQ` to encode quantitative fields, and `vl.color().fieldN` for categorical coloring. Data is loaded asynchronously via `d3.csv` from a Gist-hosted CSV file, and the chart renders with a custom dark-themed axis configuration.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.
MIT Licensed