Word Cloud
Anime Manga Culture
Japanese animation and pop culture terms
Output
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud
text = """Anime Manga Otaku Waifu Husbando Senpai Kawaii Sugoi Baka Nani
Shonen Shoujo Seinen Josei Isekai Mecha Slice of Life Romance Action
Studio Ghibli Miyazaki Demon Slayer One Piece Naruto Dragon Ball
Attack on Titan My Hero Academia Jujutsu Kaisen Chainsaw Man Spy Family
Cosplay Convention Akihabara Shibuya Tokyo Japan Light Novel Visual Novel
Vocaloid Hatsune Miku J-Pop K-Pop Idol Voice Actor Seiyuu Dubbed Subbed
Figure Collectible Merchandise Gacha Gaming Mobile RPG Visual Novel"""
def sakura_pink(word, font_size, position, orientation, random_state=None, **kwargs):
colors = ['#F5276C', '#ff6b9d', '#ff8fab', '#F527B0', '#ec4899']
return colors[hash(word) % len(colors)]
wordcloud = WordCloud(
width=1200, height=600,
background_color='#0a0a0f',
color_func=sakura_pink,
max_words=80,
max_font_size=120,
min_font_size=10,
relative_scaling=0.5
).generate(text)
fig, ax = plt.subplots(figsize=(12, 6), facecolor='#0a0a0f')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
plt.tight_layout(pad=0)
plt.show()
Library
Matplotlib
Category
Text Visualization
More Word Cloud examples
☕