Can Squarify use two columns to graph?

0

I would like to know if having a dataframe with column A and B, where A is a quantity and B indicates a category assigned to that amount can be used as parameters in squarify to display its graph. One of the parameters of squarify is the scale of colors that the graph can carry but in the same way I want to know if it is possible to use a scale of its own so that these colors are taken from column B of the dataframe.

Summarizing my doubt a little, I would like squarify to show in the graph the values of column A with the colors indicated by column B.

Thanks in advance

    
asked by SunoFer 21.05.2018 в 05:22
source

0 answers