Creating an Interactive KMeans Clustering App
Learn how to incorporate KMeans clustering in a Dash application.
We'll cover the following
Let’s put everything together now and make an interactive clustering application using our dataset.
- We’ll give users the option to choose the year as well as the indicator(s) that they want.
- They can also select the number of clusters and get a visual representation of those clusters in the form of a colored choropleth map, based on the discovered clusters.
Please note that it’s challenging to interpret results like these with multiple indicators because we’ll be handling more than one dimension. It can also be difficult if we’re not an economist and don’t know which indicators make sense when checked with which other indicators and so on.
The following illustration shows what we’ll be working toward:
Get hands-on with 1200+ tech skills courses.