Every chart makes a promise about its data: this bar is longer because that number is bigger, this line climbs because time moved on. These lessons teach the ideas that keep that promise. They start before any chart, with what a table is, and end with an app built on your own data. Each step has something to try on real data, read by the same engine the product uses.
Data viz academy
The ideas under every chart, from a table's shape to an app built on your own data, with tools to try on real tables as you read.
Chapter 1From table to chart
1 Your data is a table
Read a table as rows and columns, tell a tidy table from a wide one, and say what a blank does.
- Rows and columnsA table is a list of things: each row is one of them and each column is one kind of fact about it. Here's how to read one.
- Kinds of valuesText, whole numbers, decimals, dates and yes-or-no values each behave differently in a chart. Here's why a field holds one kind.
- Tidy and wide tablesThe same facts can sit one row per month or one column per month. Here's why charts want the first layout and how to spot the second.
- Blanks, zeros and unknownsAn empty cell, a zero and "unknown" mean different things, and each changes a total, an average or a line in its own way.
2 Fields and roles
Name each field's role and say what one row of a table stands for.
- Five roles a field can playEvery field in a table plays one role in a chart: a category, a measure, a date, a place or an identifier. Here's how to tell them apart.
- When a number is really a labelZIP codes, years, store numbers and rep codes look like numbers but aren't measures. Here's how to spot them before a chart adds them up.
- Grain: what one row stands forA table's grain is what one row stands for: one order, one store, one year in one division. Here's how to find it and why it matters.
- Adding up changes the tableSum, Count and Average turn many rows into one value per group. Here's what each answers, which fields need which, and what gets lost.
3 Shape
Describe a table's shape, then read it with the tool.
- What a table's shape isThe few counts and kinds that decide which charts can show a table honestly, and how to find them in a real table.
- How many different values a field holdsWhy a field with 5 values, one with 200 and one with a value on every row call for different charts, and what a repeat in a table means.
- Time and place in a tableWhat makes a field a date a line can follow or a place a map can find, and what to check on each before you chart it.
- Reading what the tool tells youA walk through the shape tool's report and its list of charts that fit, including how to read the reason a chart doesn't fit.
4 Why a chart works or fails
Match an encoding to the comparison it carries, and predict a chart's failure from the data's shape.
- Position, length, angle, color and areaA chart turns numbers into positions, lengths, angles, colors or areas. Some of these are much easier to compare than others. Here's the order.
- Too many partsA pie of dozens of slices, a legend of countless colors, a tangle of lines. Here's why they fail, and the charts that handle many parts.
- Order mattersA line says something happens between its points, so it needs an ordered axis. Here's when to join the points and when a category wants bars.
- A map needs a place keyA map can only draw what it can find: a country, a state, a coordinate. Here's what makes a field a place, and when a map is the wrong answer.
5 Choosing and asking
Go from a question to a chart type and its fields, read a refusal as advice, and write a clear request.
- Start from the questionMost chart questions are one of five kinds: compare, change over time, part of a whole, relationship, or where. Name yours first.
- From the question to a type and its fieldsOnce you know the kind of question, each chart type asks for certain fields: a category, a measure, a date, a place. Here's how to match them.
- Reading a refusalWhen a tool says a chart can't be drawn from your table, it's telling you something about the table. Here's how to read that answer as advice.
- Asking for a chartA good request names the question, the fields and the reader, and leaves the drawing to the tool. Here's how to write one that works the first time.
6 Interaction
Use selection, cross-filtering, slicers and small multiples, and know when interaction carries the point.
- Selecting and cross-filteringClick a bar or draw around some points, and every chart on the same table narrows to match. Here's how selection works and what to watch for.
- Slicers and filtersA slicer narrows every chart before you look: one region, one year, one product line. Here's how to use one well and what a filter can hide.
- Small multiples, or one chart with a controlShow every group at once in small panels, or one chart the reader steps through. Here's when each carries the point, and why it matters.
7 From charts to an app
Put several visuals on one table with a shared selection, then build the same thing in your own host.
- Several visuals on one tableA page of charts works when each one answers its own question and they all share a selection. Here's how to plan a page like that.
- In Power BI and ExcelAdd the visual or the add-in, give it your fields, and pick a chart from what fits. Here's the first chart and the first app, step by step.
- In your own appThe same charts can live in a React app, a Microsoft Fabric app, or an AI agent's work. Here's what each route needs and where to start.
Explore the sample datasets and the charts already built on them
grid_view See all 147 components in the AI Gallery arrow_forwardNew articles in your inbox
Drop your email and we'll tell you when we publish something new. No spam — unsubscribe anytime.