tomato = function() {
const tomato = d3.create('svg')
.attr('width', 65)
.attr('height', 60)
.attr('viewBox', '0 0 65 60')
tomato.append('path')
.attr('d', `
M 55 35
C 55 45 45 55 35 55
`)
.attr('fill', 'transparent')
.attr('stroke-width', 2)
.attr('stroke', '#ED553B')
.attr('stroke-linecap', 'round')
tomato.append('path')
.attr('d', `
M 35 10
C 70 10 70 60 35 60
C 0 60 0 10 35 10
`)
.attr('fill', 'transparent')
.attr('stroke-width', 2)
.attr('stroke', '#ED553B')
tomato.append('path')
.attr('d', `
M 35 17
C 32 7 34 2 37 0
`)
.attr('fill', 'transparent')
.attr('stroke', '#4FB99F')
.attr('stroke-width', 2)
.attr('stroke-linecap', 'round')
tomato.append('path')
.attr('d', `
M 21 7
C 23 6 33 7 34 11
C 36 8 47 5 49 7
`)
.attr('fill', 'transparent')
.attr('stroke', '#4FB99F')
.attr('stroke-width', 2)
.attr('stroke-linecap', 'round')
tomato.append('path')
.attr('d', `
M 26 17
C 32 9 36 9 46 17
`)
.attr('fill', 'transparent')
.attr('stroke', '#4FB99F')
.attr('stroke-width', 2)
.attr('stroke-linecap', 'round')
return () => tomato.node().cloneNode(true)
}