I want to visualize my data using a tree-map. I have a dictionary with keys and values. How can I do it in python with the area of block representing the value and color representing the key/label. I saw a similar question here.
But the link provided in the accepted answer plots tree-map on to a tree.
Example of a dictionary I have is. {apple:1,mango:0.5,orange:0.5}