Skip to content

Commit 1e73f58

Browse files
committed
Update README
1 parent 9b2e173 commit 1e73f58

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ If the **x** channel is not specified, the bar will span the full horizontal ext
572572

573573
[<img src="./img/cell.png" width="320" height="320" alt="a heatmap">](https://observablehq.com/@data-workflows/plot-cell)
574574

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 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).
576576

577577
In addition to the [standard mark options](#marks), including insets and rounded corners, the following optional channels are supported:
578578

@@ -725,7 +725,7 @@ Returns a new link with the given *data* and *options*.
725725

726726
[<img src="./img/rect.png" width="320" height="198" alt="a histogram">](https://observablehq.com/@data-workflows/plot-rect)
727727

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.
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).
729729

730730
The following channels are required:
731731

@@ -734,11 +734,7 @@ The following channels are required:
734734
* **x2** - the ending horizontal position; bound to the *x* scale
735735
* **y2** - the ending vertical position; bound to the *y* scale
736736

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.
742738

743739
#### Plot.rect(*data*, *options*)
744740

0 commit comments

Comments
 (0)