import random
random.seed(49)
source = pd.Series([random.choice('abc') for _ in range(100)]).value_counts()
source.plot(kind='barh')
Considering the Value counts series applied above and plot of horizontal bar char with counts of each value occurrence.
How does one replicate this simple example in altair?
Is there a transform avaliable where when can count or group the occurrences of a series then plot avoiding the value_counts method?
pandas 0.25.0 python 3.7
Thanks in advance

