A drug's therapeutic index is the ratio between the dose that causes toxic effects and the dose needed for the desired therapeutic effect. This simulator plots that ratio directly: raise a shared dose slider and watch a wide-margin drug stay safely under its toxic threshold across a huge dose range while a narrow-margin drug crosses into toxicity after only a small increase. Switch to the overdose scene to see why some narrow-index drugs — opioids among them — can still be rescued: a competitive-antagonist antidote binds the very same receptor without producing an effect of its own, physically displacing the toxic drug off the binding sites as its dose rises.