@uwdata/mosaic-plot
Version:
A Mosaic-powered plotting framework based on Observable Plot.
9 lines • 366 B
TypeScript
/**
* Return the bound datum value on a Plot-generated SVG element.
* Following D3, bound data is assigned to the `__data__` property.
* However, the target mark may be wrapped within a hyperlink `a` tag.
* @param {Element} el A DOM element.
* @returns {*} The bound datum.
*/
export function getDatum(el: Element): any;
//# sourceMappingURL=get-datum.d.ts.map