{
const height = (width * (2 / 3)) | 0;
const context = DOM.context2d(width, height);
const values = data.arraySync();
coords.forEach((point, i) => {
context.beginPath(),
context.arc(point[0] * width, point[1] * height, 8, 0, 2 * Math.PI),
(context.fillStyle = `rgb(${values[i][0] * 255},${values[i][1] * 255},${
values[i][2] * 255
})`),
context.fill();
});
return context.canvas;
}