Extended Data
Distribution of side effects experienced on each of the three study drugs (pioglitazone represented by blue bars, sitagliptin by yellow bars, and canagliflozin by red bars) for all instances where people tried the therapy (n=469 pioglitazone, n=474 sitagliptin, n=474 canagliflozin). Proportions experiencing the side effects at baseline shown by black bars.Scatterplots showing a) difference in on-treatment HbA1c between pioglitazone and sitagliptin (negative values favour pioglitazone, positive values favour sitagliptin) against BMI, and b) difference in on-treatment HbA1c between sitagliptin and canagliflozin (negative values favour sitagliptin, positive values favour canagliflozin) against eGFR. Line of best fit shown for each plot.