DEV Community

Dylan Parker
Dylan Parker

Posted on

Using Python to Visualize Home Decor Decisions

I’ve been experimenting with a small Python project that tries to quantify something usually considered subjective: home decor choices.

The idea was simple — rate homeware items based on:

visual appeal
practicality
how well they balance both

I used pandas and matplotlib to map items on a Style vs Functionality graph.

import pandas as pd
import matplotlib.pyplot as plt

items = {
'Item': ['Mirror', 'Wall Art', 'Planter', 'Vase', 'Candle Holder'],
'Style Score': [9, 8, 7, 8, 6],
'Functionality': [8, 6, 9, 7, 9]
}

df = pd.DataFrame(items)

plt.figure(figsize=(10, 6))
plt.scatter(df['Style Score'], df['Functionality'], s=200, alpha=0.7)

for i, item in enumerate(df['Item']):
plt.annotate(
item,
(df['Style Score'][i], df['Functionality'][i]),
textcoords="offset points",
xytext=(5,5)
)

plt.xlabel('Style Score')
plt.ylabel('Functionality Score')
plt.title('Homeware: Style vs Functionality')
plt.grid(True, alpha=0.3)
plt.show()

What surprised me was how clearly certain items stand out:

mirrors score high because they improve both lighting and aesthetics
planters add texture while making spaces feel more alive
decorative-only pieces often score lower on utility

I’ve been browsing Infinity Decor recently and noticed a lot of their pieces fit that “high style + high function” sweet spot — especially mirrors and storage accents.

It’s obviously still subjective, but visualizing design choices this way actually helped me make better purchasing decisions instead of impulse-buying random decor.

Curious if anyone else mixes programming/data analysis with interior design or home projects.

Top comments (3)

Collapse
 
6d94c35eb04ca profile image
Sophia

This is such a creative use of data viz I'm a fan of the scatter plot approach! I tend to go by instinct, but I could see using this for big decisions like a statement mirror where the trade-offs really matter.

Collapse
 
eleanor-brooks profile image
Eleanor Brooks

This is such a creative use of data viz—I'm a fan of the scatter plot approach! I tend to go by instinct, but I could see using this for big decisions like a statement mirror where the trade-offs really matter.

Collapse
 
carllowman profile image
Carllowman

Interesting approach! I'm more of an instinct shopper, but this scatter plot makes a strong case for data-driven decor. Mirrors really are the unsung heroes—great style and utility in one. Do you ever weight style over functionality for statement pieces?