MAIDR Documentation - v3.65.0
    Preparing search index...

    Function buildNoDatumError

    • Builds a richer "element has no D3 data bound" error. Called when queryD3Elements returned elements but __data__ is missing, which almost always means the SVG was built with .append(...) alone, without a .data(...).join(...) chain.

      Parameters

      • selector: string

        The CSS selector that matched the element.

      • index: number

        Position of the offending element in the selection.

      Returns Error