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.
Builds a richer "element has no D3 data bound" error. Called when
queryD3Elementsreturned elements but__data__is missing, which almost always means the SVG was built with.append(...)alone, without a.data(...).join(...)chain.