Hans Rosling, a Swedish doctor who transformed himself into a pop-star statistician by converting dry numbers into dynamic graphics that challenged preconceptions about global health and gloomy prospects for population growth, died on Tuesday in Uppsala, Sweden. He was 68.

The cause was pancreatic cancer, according to Gapminder, a foundation he established to generate and disseminate demystified data using images.

Even before “post-truth” entered the lexicon, Dr. Rosling was echoing former Senator Daniel Patrick Moynihan’s maxim that everyone is entitled to his own opinions but not to his own facts.

“He challenged the whole world’s view of development with his amazing teaching skills,” Isabella Lovin, Sweden’s deputy prime minister, said in a statement.