liveBook · Manning

Aggregate table

As explained in Everyday Data Visualization

An aggregate table is a table whose rows contain summarized results produced by combining more detailed rows.

An aggregate table stores summarized results rather than individual observations. Its grain tells you what each row represents: one row per fruit type, for example, instead of one row per fruit eaten. section 3.5.1

From fruit observations to a roll-up

Start with individual fruits and their taste scores. Group rows by fruit type, keep the maximum taste score for each group, then sort by descending taste and ascending name. The result is an aggregate, or roll-up, table. section 3.5.1

How Everyday Data Visualization covers it

How deep it goes
Explains row grain, grouping, maximum selection, and sorting, but does not provide implementation instructions.
Examples
Uses individual fruit records and a fruit-type table containing maximum taste scores sorted by taste and name.
What it assumes
Assumes familiarity with rows, columns, observations, dimensions, and measures.
What you can do after
Evaluate whether a table summarizes detailed observations at the intended grain.
How it connects
Connects aggregation with data grain, observations, dimensions, measures, primary keys, and bar charts.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Everyday Data Visualization. The section links point to the parts of the book it draws on.