MAIDR JavaScript API
    Preparing search index...
    • The views a unit view's own marks are compiled as: the view itself, then the path Vega-Lite draws one level down when it lays points or a line over a line or an area (normalize/pathoverlay), whose marks are <view>_marks and, split into series, inside <view>_pathgroup.

      The overlay makes the view a layer of its path and the overlay. The path keeps the name the view declares, so a view with a name of its own draws its path under that name either way; any other's path is the overlay's first layer, <view>_layer_0.

      Parameters

      • spec: Pick<VegaLiteSpec, "name">

        The view

      • view: string

        Its compiled name

      Returns string[]

      The views, the view itself first