You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Source](./src/marks/cell.js) · [Examples](https://observablehq.com/@data-workflows/plot-cell) · Draws rectangles where both *x* and *y* are ordinal, typically in conjunction with a *fill* channel to encode value. Cells are often used in conjunction with the [Plot.group](#plotgroupoutputs-options) transform.
575
+
[Source](./src/marks/cell.js) · [Examples](https://observablehq.com/@data-workflows/plot-cell) · Draws rectangles where both *x* and *y* are ordinal, typically in conjunction with a *fill* channel to encode value. Cells are often used in conjunction with a [group transform](#group).
576
576
577
577
In addition to the [standard mark options](#marks), including insets and rounded corners, the following optional channels are supported:
578
578
@@ -725,7 +725,7 @@ Returns a new link with the given *data* and *options*.
[Source](./src/marks/rect.js) · [Examples](https://observablehq.com/@data-workflows/plot-rect) · Draws rectangles where both *x* and *y* are quantitative as in a histogram. Both pairs of quantitative values represent lower and upper bounds, and often one of the lower bounds is implicitly zero.
728
+
[Source](./src/marks/rect.js) · [Examples](https://observablehq.com/@data-workflows/plot-rect) · Draws rectangles where both *x* and *y* are quantitative as in a histogram. Both pairs of quantitative values represent lower and upper bounds, and often one of the lower bounds is implicitly zero. Rects are often used in conjunction with a [bin transform](#bin).
729
729
730
730
The following channels are required:
731
731
@@ -734,11 +734,7 @@ The following channels are required:
734
734
***x2** - the ending horizontal position; bound to the *x* scale
735
735
***y2** - the ending vertical position; bound to the *y* scale
736
736
737
-
The rect mark supports the [standard mark options](#marks), including insets and rounded corners.
738
-
739
-
The **stroke** defaults to none. The **fill** defaults to currentColor if the stroke is none, and to none otherwise.
740
-
741
-
TODO Mention that rect is often used in conjunction with the [bin transform](#bin).
737
+
The rect mark supports the [standard mark options](#marks), including insets and rounded corners. The **stroke** defaults to none. The **fill** defaults to currentColor if the stroke is none, and to none otherwise.
0 commit comments