Skip to content

Glossary: Data Visualization

Format string

Also written: fmt, f-string codes, format spec

A pattern describing how a number is shown, like `"${:,.0f}"` for dollars with thousands commas and no decimals. `.1%` shows a fraction as a percentage.

Where the book teaches it

Related terms

bar_labelFormatter, locator