spec checked

Vega-Lite: Legend

Documents legends for color, opacity, size, and shape channels when those encodings represent data fields.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Data visualization Choose Data visualization when the user's primary task is seeing a pattern, relationship, trend, distribution, ranking, magnitude, or anomaly. Each visible mark is derived from the current dataset, filter scope, aggregation, and scale; visual marks and table values must agree. Vega-Lite documents legends for encoded channels such as color, opacity, size, and shape.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Vega-Lite. Last checked: .