Skip to main content
100%

LP-Explain Cardiotocograms_AirQuality

✓ Published0🌍 Public
OOleJRask
Last edited Oct 21, 2021
Created on Oct 21, 2021

This example uses the Vega-Lite API with D3.js to visualize the Air Quality UCI dataset, plotting Absolute Humidity against Relative Humidity and coloring points by class. The main chart offers a detailed scatter plot, while a secondary navigator panel displays a 4x4 repeated small-multiple grid of all attribute combinations for orientation. Both views use `vl.markCircle`, `vl.x().fieldQ()`, and `vl.y().fieldQ()` encodings, with `vl.repeat()` in the navigator to iterate over column and row fields. Data loads via `d3.csv`, and rendering uses vega-lite-api with custom configuration objects for appearance.

AI-generated description

A 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

Similar vizzes