Best Data Viz
Specialized

Data Table

A structured tabular display with sortable columns, ideal when users need exact values rather than visual patterns.

Product Sales by Region

Q4 2025 revenue and unit breakdown

Make a data table with your data

Use a data table when…

  • When exact values matter more than patterns
  • Reference lookup tables
  • Exporting or printing data
  • Supplementing a chart for accessibility

Avoid when…

  • When visual patterns or trends are the primary insight
  • Very large datasets that need aggregation first

Data it needs

PropertyValue
Min Rows2
Min Columns2
Column Types
stringnumber

Visual anatomy

Marks
textrule (row dividers)
Channels
position (row/column)alignment
Axes
column headers (also serve as the sort affordance)

Guiding principles

Consider instead

Common mistakes

  • Too many columns making the table hard to scan

  • Missing alignment - numbers should be right-aligned

  • No row striping or borders, making rows hard to follow

History

Tables are the oldest form of data presentation, predating charts by millennia. Modern interactive data tables evolved from spreadsheet software in the 1980s.

Accessibility notes

Use semantic <table> markup with <th> headers. Support keyboard navigation for sorting.

Related reading

Got data? Let's see what works.

Drop your CSV. You'll get a Data Table plus four alternatives - ranked by which one actually fits your data best.