我有一个矩阵,每个单元格都有一个RGB值.我想根据每个矩阵单元的RGB值将该矩阵投影到相应的矩形图上.最好的方法是什么?
matrix rect d3.js
d3.js ×1
matrix ×1
rect ×1