I am trying to create a table (which is from a csv file) which cells are colored (from another csv file (this way I can do preprocessing externally)). I have looked briefly at tools such as
pgfplotstable, and searched through many other questions but have not encountered an answer which allows coloring from an external file reading data from an external file. 1 describes coloring each element of a table using static data individually using logic/commands within the file. 2 explains dynamic coloring using logic within the file, but does not read color, however does not color reading color from an external file.
The desired result is, given a m by n (6x6 in this example) csv file as the following
,1,2,3,4,5 1,1,2,3,4,5 2,2,4,6,8,10 3,3,6,9,12,15 4,4,8,12,16,20 5,5,10,15,20,25
as well as a m by n color file, a m by n table where the (i,j) entry of the table contains the (i,j) entry of the data csv file, colored according to the (i,j) entry of the color csv file. The colors in the csv file can be in whatever format is most convenient for the tool which ends up being used, although ideally it would be able to specify shades and colors (perhaps via hex RGB or RGBA), however even just specifying the xcolor by name would work fine.
An examples of potential preprocessing would be using an external python script to read in the data csv file, normalizing all the data, and applying some sort of color palette to the normalized data, and writing the corresponding color value to the color csv file.
Any and all help is greatly appreciated, thank you very much!
Edit1: Provided further description for why the previous two questions do not answer this one, as well as provide example of preprocessing.