import { select as o } from "d3-selection";
function h(e, i) {
  const { width: n, height: r, margin: t, compact: a } = i;
  return e.replaceChildren(), a && (e.style.height = r + "px", e.style.lineHeight = r + "px"), o(e).append("svg").attr("width", n + t.left + t.right).attr("height", r + t.top + t.bottom).append("g").attr("transform", `translate(${t.left},${t.top})`);
}
export {
  h as createSvgContainer
};
//# sourceMappingURL=createSvgContainer.js.map
