Income Distribution in Malaysia
Visualization of Income Distribution in Malaysia

Inspired by a tweet from Thevesh, a data scientist in Central Bank of Malaysia. I tried to replicate the ridge plot and other data visualization using Seaborn. The first part of this visualization is a collection of kernel density estimate (KDE) plot for each state and federal regions in Malaysia. KDE represents the data using a continuous probability density curve, hence the y-axis represents the density instead of population.


This dataset was imported from OpenDOSM, an open-sourced website by Department of Statistics Malaysia. It is based on Household Income Surveys (HIS) and Household Income & Expenditure Surveys (HIES) carried out from 1970 to 2022, the latest of which is HIES 2022.