{
const chart = d3.create('div').call(pitch)
const layer = chart.select(".above");
layer.append('circle')
.attr('cx', 0)
.attr('cy', 0)
.attr('fill', 'red')
.attr('r', 1);
layer.append('text')
.attr('x', 2)
.attr('y', 2)
.attr('alignment-baseline', 'hanging')
.attr('fill', 'black')
.style("font-size", "3px")
.text("I am the origin at (0, 0)!");
layer.append('circle')
.attr('cx', 105)
.attr('cy', 68)
.attr('fill', 'blue')
.attr('r', 1);
layer.append('text')
.attr('x', 103)
.attr('y', 66)
.attr('text-anchor', 'end')
.attr('alignment-baseline', 'baseline')
.attr('fill', 'black')
.style("font-size", "3px")
.text("I am at (105, 68)!");
layer.append('circle')
.attr('cx', 30)
.attr('cy', 50)
.attr('fill', 'gold')
.attr('r', 1);
layer.append('text')
.attr('x', 33)
.attr('y', 50)
.attr('alignment-baseline', 'middle')
.attr('fill', 'black')
.style("font-size", "3px")
.text("I am a point on the pitch at (33,50)!");
return chart.node()
}