If a player sacrifices their commander this way, they won't be able to choose whether to put it into the command zone until after Danse Macabre has finished resolving. Notably, this means that the sacrificed commander is a legal choice for the spell's controller to return to the battlefield. If they choose it this way, it will stay on the battlefield under their control.

Artwork
Loading artwork…
Danse Macabre
Forgotten Realms Commander · #22 · EN
Nonfoil—Foil—
Card rules
Each player sacrifices a nontoken creature of their choice. Roll a d20 and add the toughness of the creature you sacrificed this way.
1—14 | Return a creature card put into a graveyard this way to the battlefield under your control.
15+ | Return up to two creature cards put into graveyards this way to the battlefield under your control.
Rare · Illustrated by Randy Vargas
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You add only the toughness of the creature you sacrificed this way, not the toughness of any creatures your opponent sacrificed. If you didn't sacrifice a creature this way, you will still roll a d20, but you will not add anything to the roll.
Starting with you and continuing in turn order, each player will choose which creature they will sacrifice. They will know the choices made by players before them in this order when they make that choice. The creatures are all sacrificed at the same time.
All creatures are chosen and sacrificed before the die is rolled. You don't get to see what the result of the die roll is before choosing which creature to sacrifice.