chart = {
const container = d3.select(DOM.svg()).attr("viewBox", [0, 0, width, height])
const group = container
.append('g')
const group1 = container
.append('g')
const svg = group.selectAll('.row')
.data(data)
.enter()
.append('g')
.attr('transform', (d, i) => `translate(0, ${i * cellWidth})`)
.selectAll('.cell')
.data((d, i) => data[i])
.enter()
.append('image')
.attr('xlink:href', 'https://raw.githubusercontent.com/amanda-kochak/Final-Project/b64de717135a3530f922c7ae940980423b180147/smallBusiness.svg')
.attr("width", cellWidth - 20)
.attr('height', cellWidth - 20)
.attr('x', (d, i) => i * cellWidth)
.attr("opacity", 1)
container.on('mouseover', function(d) {
svg
.attr('opacity', 1)
.transition()
.ease(d3.easeLinear)
.duration(1000)
.attr("opacity", 0.15)
const svg2 = group.selectAll('.row')
.data(data2)
.enter()
.append('g')
.attr('transform', (d, i) => `translate(${i * cellWidth},0)`)
.selectAll('.cell')
.data((d, i) => data2[i])
.enter()
.append('image')
.attr('xlink:href', 'https://raw.githubusercontent.com/amanda-kochak/Final-Project/b64de717135a3530f922c7ae940980423b180147/smallBusiness.svg')
.attr("width", cellWidth-20)
.attr('height', cellWidth -20)
});
return container.node()
}