Here are some examples of how it's used:
* "The election was down to the wire, with the results not known until the early hours of the morning."
* "We worked down to the wire to finish the project on time."
* "The game was down to the wire, with the winning team scoring in the last minute."
Let me know if you'd like to explore other idioms!