Unsupervised clustering categorizes NAFLD by disease activity and fibrosis, considering age, AST levels, type 2 diabetes, and the PNPLA3 rs738409 variant. Here, PNPLA3 is linked to metabolic dysfunction-associated steatotic liver disease.