Path diagram of the mediation analysis model among 12,817 participants aged 40–79 years in the NHANES 2007–2016. Diet quality (measured by HEI-2015) was defined as an exposure; kidney function (measured by eGFR) was defined as an outcome; and aging process (measured by α-Klotho) was defined as a mediator. Path a indicates the regression coefficient for the association of HEI-2015 with α-Klotho. Path b indicates the regression coefficient for the association of α-Klotho with eGFR. Path c indicates the simple total effect of HEI-2015 with eGFR, without the adjustment for α-Klotho. Path c’ indicates the direct effect of HEI-2015 with eGFR when controlled for α-Klotho. Abbreviations: NHANES, National Health and Nutrition Examination Survey; HEI, healthy eating index; eGFR, estimated glomerular filtration rate.