Skip to content

Commit f037305

Browse files
authored
mixed-up dimensions (#1522)
1 parent 279a84d commit f037305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/marks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ While Plot aspires to give good defaults and helpful warnings, Plot won’t prev
276276
In particular, beware the simple “bar”! A bar mark is used for a bar chart, but a rect mark is needed for a histogram. Plot has four different mark types for drawing rectangles:
277277

278278
- use [rect](../marks/rect.md) when both *x* and *y* are quantitative
279-
- use [barX](../marks/bar.md) when *x* is ordinal and *y* is quantitative
280-
- use [barY](../marks/bar.md) when *x* is quantitative and *y* is ordinal
279+
- use [barX](../marks/bar.md) when *x* is quantitative and *y* is ordinal
280+
- use [barY](../marks/bar.md) when *x* is ordinal and *y* is quantitative
281281
- use [cell](../marks/cell.md) when both *x* and *y* are ordinal
282282

283283
Plot encourages you to think about data types as you visualize because data types often imply semantics. For example, do you notice anything strange about the bar chart below?

0 commit comments

Comments
 (0)