- Numerical data is right-aligned.
- Textual data is left-aligned because is read from left-to-right.
- Headers are aligned with their data and center alignment is not recommended.
I know that this question is from 5 years ago, but I saw it has no answer and I found this article, "Design Better Data Tables" very detailed and complete as an answer.
Numerical data is read right-to-left; that is, we compare numbers by
first looking at their ones digit, then their tens, then their
hundreds, and so on. This is also how most people learn
arithmetic — start on the right and move left, carrying digits as you
go1. Therefore, tables should keep numerical data right-aligned.
Textual data is read (in English) from left-to-right. Comparing
textual elements is typically done by sorting into alphabetical order:
if two entries start with the same letter, the second letter is used,
and so on. Trying to quickly scan text can be infuriating if it’s not
left-aligned.
Headers, generally, should carry whatever alignment their data has.
This keeps the vertical lines of the table clean, and provides
consistency and context.
Center alignment causes the lines of the table to become “ragged,”
which makes it much harder to scan entries, often necessitating extra
dividers and graphical elements.