Perhaps not the best approach due to the inconsistent vertical positioning of ¹²³ vs. the other numbers… Alternatively, you could use axis post-selection to achieve the same effect.
forked from mbostock's block: Superscript Format
https://d3js.org/d3.v3.min.js