mirror of
https://github.com/StefBuwalda/whatsapp-wordcloud.git
synced 2025-10-30 03:09:58 +00:00
setting up the data to generate a piechart
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import matplotlib.pyplot as plt
|
||||
import seaborn as sns
|
||||
import pandas as pd
|
||||
from backend.process_data import frequency_dictionary
|
||||
from backend.process_data import word_frequency_dict
|
||||
from collections import Counter
|
||||
|
||||
# Example dictionary
|
||||
data = frequency_dictionary
|
||||
data = word_frequency_dict
|
||||
|
||||
# Choose how many top words to show
|
||||
TOP_N = 5
|
||||
|
||||
Reference in New Issue
Block a user