added pie chart

This commit is contained in:
youri.apell@gmail.com
2022-11-02 16:05:25 +01:00
parent 0bc9bd9c14
commit 4ed7c84140
12 changed files with 45 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ def generate_tweet(ctx, e):
# emit to outside world
emit('tweet', tweet)
for w in words(tweet['text']):
emit('balk', {
emit('pie', {
'action': 'add',
'value': (str(w), 1)
})