import { select } from "d3-selection";
import { stylize } from "@d3plus/dom";
/**
    @name _drawAttribution
    Draws absolute positioned attribution text.
    @private
*/ export default function() {
    var attr = select(this._select.node().parentNode).selectAll("div.d3plus-attribution").data(this._attribution ? [
        0
    ] : []);
    var attrEnter = attr.enter().append("div").attr("class", "d3plus-attribution");
    attr.exit().remove();
    attr = attr.merge(attrEnter).style("position", "absolute").html(this._attribution).style("right", "".concat(this._margin.right, "px")).style("bottom", "".concat(this._margin.bottom, "px")).call(stylize, this._attributionStyle);
}
