# Can the extent of variability within a dataset be reflected through clustering?

As an example: I need to compare the extent of variability amongst houses belonging to 4 different architectural eras - I want to see how different the houses are within each group and then compare such variability between groups (example of hypothetical conclusion: the houses from the baroque era had the most variability when compared to the other 3 groups).

Different descriptive variables on all houses are available (area, number of rooms, number of floors etc).

I wish to use a technique which can take into account all variables.

Would it make sense to perform clustering within each individual group, on the basis that the higher the optimal number of clusters, the larger the extent of variability between houses within each group? Would hierarchical clustering fit?

If not, what would you suggest please?

$$\overline{\sigma}_{Era} = \frac{\sum_{i = (features)} \sigma_{i}}{n}$$ where $$n$$ is the number of features for each era, and $$\sigma_{i}$$ is the standard deviation for one feature of the era.