Word Cloud
Healthcare Terms Light
Medical and healthcare vocabulary
Output
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud
text = """Healthcare Medical Doctor Nurse Patient Hospital Clinic
Diagnosis Treatment Therapy Surgery Recovery Rehabilitation
Medicine Prescription Dosage Side Effects Pharmacy Pharmacist
Insurance Coverage Premium Deductible Copay Network Provider
Electronic Health Records EHR Telemedicine Virtual Care Remote
Research Clinical Trial FDA Approval Drug Development Biotech
Wellness Prevention Screening Vaccination Immunization Public Health"""
def teal_green(word, font_size, position, orientation, random_state=None, **kwargs):
colors = ['#0d9488', '#14b8a6', '#2dd4bf', '#0f766e', '#115e59']
return colors[hash(word) % len(colors)]
wordcloud = WordCloud(
width=1000, height=600,
background_color='#ffffff',
color_func=teal_green,
max_words=75,
max_font_size=100,
min_font_size=11,
relative_scaling=0.5
).generate(text)
fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
ax.set_title('Healthcare Industry', color='#1f2937', fontsize=16, fontweight='bold', pad=10)
plt.tight_layout(pad=1)
plt.show()
Library
Matplotlib
Category
Text Visualization
More Word Cloud examples
☕