myEnterSelection.append( tagName ) in D3.js

Create and append new elements for all the placeholder entries, returning a new selection of the created elements.

Arguments

nametypedescription
tagName String May have a namespace prefix, such as svg:text to create a <text> element in the SVG namespace. By default, D3 supports svg, xhtml, xlink, xml and xmlns namespaces. Additional namespaces can be registered by adding to d3.ns.prefix.
Return Type
Selection

Description

For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-append.

See Also