In Python I'm looking to do something similar to the image below.
using very a very basic example of a dataset like:
d1 ={'player_name':['A','B','C'], 'pass_reception_name':['B','A','A'], 'count':[18,7,1]}
I've tried d1.corr() and that just returns the counts columns in a 1 square matrix. I've looked online and it's not something I'm able to find much help on, I might not even been asking for the correct thing - if someone can point me to what something like this is called or anymore information. Thanks