Avandia, once the best-selling diabetes pill on the planet, is now given only to a few thousand Americans. In much of the rest of the world it has been pulled from the market because of analyses that showed it might increase the risk of heart attacks. The controversy over the drug changed the way the Food and Drug Administration regulates diabetes medicines, resulting in steep requirements that new drugs prove they are unlikely to cause heart side effects.