Word Cloud

Real Estate Terms

Property and real estate vocabulary

Output
Real Estate Terms
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud

text = """Real Estate Property Home House Apartment Condo Townhouse
Buy Sell Rent Lease Mortgage Loan Interest Rate Down Payment
Agent Broker Realtor MLS Listing Open House Showing Inspection
Location Neighborhood School District Commute Amenities Parking
Square Feet Bedrooms Bathrooms Kitchen Living Room Backyard Pool
Investment Rental Income ROI Appreciation Equity Value Appraisal
Commercial Residential Industrial Office Retail Warehouse Zoning"""

def purple_plum(word, font_size, position, orientation, random_state=None, **kwargs):
    colors = ['#6b21a8', '#7c3aed', '#8b5cf6', '#a78bfa', '#581c87']
    return colors[hash(word) % len(colors)]

wordcloud = WordCloud(
    width=1000, height=600,
    background_color='#ffffff',
    color_func=purple_plum,
    max_words=70,
    max_font_size=100,
    min_font_size=12,
    relative_scaling=0.55
).generate(text)

fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
ax.set_title('Real Estate', color='#1f2937', fontsize=16, fontweight='bold', pad=10)
plt.tight_layout(pad=1)
plt.show()
Library

Matplotlib

Category

Text Visualization

Did this help you?

Support PyLucid to keep it free & growing

Support