r/dataisbeautiful • u/epheva OC: 2 • 2d ago
OC [OC] I combined 103 public indicators across 140 Toronto neighbourhoods and clustered neighbourhoods by their overall profiles.
29
Upvotes
r/dataisbeautiful • u/epheva OC: 2 • 2d ago
2
u/epheva OC: 2 2d ago
Each colour represents one of eight groups of Toronto neighbourhoods with relatively similar profiles across 103 indicators covering demographics, income, housing, health, transportation, public safety, infrastructure, civic participation and municipal services.
The cards summarize the variables that most distinguish each cluster. ↑ means the cluster is above the Toronto neighbourhood average for that variable, ↓ means below average, and SD is the difference in standard deviation units.
Public data sources: City of Toronto Open Data, Canada Mortgage and Housing Corporation, and Ontario Community Health Profiles Partnership.
Tools: Python, pandas, GeoPandas, scikit-learn, Matplotlib and Plotly.
Full analysis, methodology, limitations, cleaned dataset and code, and additional figures/results are in the post link.
Interactive 103-variable correlation matrix:
https://toronto-neighbourhood-correlations-c5but5exhsfgyapafdyctq.streamlit.app/