In a large heat-proof mixing bowl, combine the shredded cabbage, grated carrot, and diced onion.
In a small saucepan over medium heat, whisk together sugar, apple cider vinegar, vegetable oil, celery seed, dry mustard, salt, and pepper.
Bring the dressing mixture to a rolling boil, whisking until the sugar and salt are fully dissolved.
Pour the hot dressing immediately over the cabbage mixture.
Toss the cabbage thoroughly with tongs to ensure every strand is coated with the liquid.
Allow the coleslaw to cool to room temperature, then cover and refrigerate for a minimum of 2 to 4 hours before serving to allow the flavors to penetrate the vegetables.