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

    Function getD3Datum

    • Extracts the D3-bound datum from a DOM element. D3.js stores bound data on the __data__ property of DOM elements after a .data() join.

      Parameters

      • element: Element

        The DOM element to extract data from.

      Returns unknown

      The bound datum, or undefined if no data is bound.