For example, if my table is something like:
df = pd.DataFrame({'user_id': ['abc', 'abc', 'def'],
'product': ['A1', 'A2', 'A3']})
How can I return a bar chart where the dimension X is product and the metric y is the count of the distinct values of user_id?