The reason houses are more expensive on average now is they're twice as big. People's expectations have changed.
I mention this because there were no cheap housing periods.
[1] https://fee.org/articles/new-homes-today-have-twice-the-squa...
Often low-income families would live in smaller houses for less money if they had the choice, but building smaller and more dense housing has since been restricted by planning codes, often with the intent of excluding poor people.
I'm conservative-minded on regulation for exactly this reason; my parents and grandparents were allowed to live poor yet we're obligated to pay substantially more in housing because of restrictions and requirements that purportedly address safety concerns that I'm willing to risk.
This seems to simplistic an analyze. It does not consider different areas of the country changing at different rates. And to compare two different medians seems fishy: they are not even the same house.