Hi,
I have a lot data that I like to plot as a heatmap from a data table. I have attached an image below of a sample data table image and the steps I do to create the heatmap on the data table. It follows the following steps:
- Get a datatable after using tabulate
- Stack all the columns (except for 'type'). Then do a summary of the whole data set to find min, median and max.
- Take the min, median and max values from step2 and put them into the color gradient values.
The result of the data table after running these steps is shown below. Currently I do step 3 manually where whatever value I get post Summary I input into the color gradient values. Is there a way to take the values (min, median, max) from Summary datatable with a script and input it into the color gradient?
I have attached the sample dataset as well.

