Jan-25-2019, 01:58 AM
Hi! I am quite new to Python and I would like to reproduce the graph of the picture and, if possible, divide the boxes into three categories. I need the size of the boxes to be proportional to a total value and have them next to each other.
I have tried with plt.scatter(), changing the shape to a square and then plotting each squared with an x and y value, but I would like to find a more general code, such that the boxes stay in contact even if I change their size.
Any input is appreciated!