chart = {
const svg = d3.select(DOM.svg()).attr("viewBox", [0, 0, width, height]);
svg.selectAll('.row')
.data(data)
.enter()
.append('g')
.attr('transform', (d, i) => `translate(0, ${i * cellWidth})`)
.selectAll('.cell')
.data((d, i) => data[i])
.enter()
.append('rect')
.attr("width", cellWidth)
.attr('height', cellHeight)
.attr('x', (d, i) => i * cellWidth)
.attr('stroke', 'white')
.attr('class', 'rect')
.attr('stroke-width', '1px')
svg.selectAll('.cell')
.data(data2)
.enter()
.append('g')
.append('image')
.attr('xlink:href', (d) => d.Link)
.attr("width", cellWidth)
.attr('height', cellHeight)
.attr('x', (d, i) => i * cellWidth)
.attr("opacity", 1)
return svg.node()
}