chart = {
const svg = d3.create("svg")
.attr("viewBox", [0,0, width, 200])
.style("overflow", "visible")
var t1 = textures.lines()
.orientation("3/8", "7/8")
.stroke("darkorange");
svg.call(t1);
var t2 = textures.paths()
.d("waves")
.thicker()
.stroke("firebrick");
svg.call(t2);
svg.append("circle")
.attr("r", 40)
.attr("cx", 50)
.attr("cy", 50)
.style("fill", t1.url());
svg.append("circle")
.attr("r", 60)
.attr("cx", 120)
.attr("cy", 70)
.style("fill", t2.url());
return svg.node()
}