How deadly is type 2 diabetes?

Diabetes was only the 8th-leading cause of death in 2020. Can it really be possible that diabetes is so “harmless” relative to the other major chronic diseases, or are the CDC reports only the tip of the iceberg?