Skip to content

Commit 853bd3d

Browse files
committed
Update README
1 parent 36d544d commit 853bd3d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ The *facet* option enables [faceting](https://observablehq.com/@data-workflows/p
359359
Similar to [marks](#marks), faceting requires specifying data and at least one of two optional channels:
360360

361361
* facet.**data** - the data to be faceted
362-
* facet.**x** - the horizontal position; bound to the *fx* scale, which must be a *band* scale
363-
* facet.**y** - the vertical position; bound to the *fy* scale, which must be a *band* scale
362+
* facet.**x** - the horizontal position; bound to the *fx* scale, which must be *band*
363+
* facet.**y** - the vertical position; bound to the *fy* scale, which must be *band*
364364

365365
The facet.**x** and facet.**y** channels are strictly ordinal or categorical (*i.e.*, discrete); each distinct channel value defines a facet. Quantitative data must be manually discretized for faceting, say by rounding or binning. Automatic binning for quantitative data may be added in the future. [#14](https://github.com/observablehq/plot/issues/14)
366366

@@ -545,7 +545,7 @@ If neither the **x1** nor **x2** option is specified, a **x** option may be spec
545545

546546
In addition to the [standard bar channels](#bar), the following optional channels are supported:
547547

548-
* **y** - the vertical position; bound to the *y* scale, which must be a *band* scale
548+
* **y** - the vertical position; bound to the *y* scale, which must be *band*
549549

550550
If the **y** channel is not specified, the bar will span the full vertical extent of the plot (or facet).
551551

@@ -564,7 +564,7 @@ If neither the **y1** nor **y2** option is specified, a **y** option may be spec
564564

565565
In addition to the [standard bar channels](#bar), the following optional channels are supported:
566566

567-
* **x** - the horizontal position; bound to the *x* scale, which must be a *band* scale
567+
* **x** - the horizontal position; bound to the *x* scale, which must be *band*
568568

569569
If the **x** channel is not specified, the bar will span the full horizontal extent of the plot (or facet).
570570

@@ -576,8 +576,8 @@ If the **x** channel is not specified, the bar will span the full horizontal ext
576576

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

579-
* **x** - the horizontal position; bound to the *x* scale, which must be a *band* scale
580-
* **y** - the vertical position; bound to the *y* scale, which must be a *band* scale
579+
* **x** - the horizontal position; bound to the *x* scale, which must be *band*
580+
* **y** - the vertical position; bound to the *y* scale, which must be *band*
581581

582582
If the **x** channel is not specified, the cell will span the full horizontal extent of the plot (or facet). Likewise if the **y** channel is not specified, the cell will span the full vertical extent of the plot (or facet). (Typically either *x*, *y*, or both are specified; see [Plot.frame](#frame) if you want a simple frame decoration around the plot.)
583583

@@ -617,7 +617,7 @@ In addition to the [standard mark options](#marks), the following optional chann
617617

618618
* **x** - the horizontal position; bound to the *x* scale
619619
* **y** - the vertical position; bound to the *y* scale
620-
* **r** - the radius (area); bound to the *radius* scale
620+
* **r** - the radius (area); bound to the *radius* scale, which defaults to *sqrt*
621621

622622
If the **x** channel is not specified, dots will be horizontally centered in the plot (or facet). Likewise if the **y** channel is not specified, dots will vertically centered in the plot (or facet). (Typically either *x*, *y*, or both are specified.)
623623

@@ -872,7 +872,7 @@ Returns a new tick↕︎ with the given *data* and *options*. The following chan
872872

873873
The following optional channels are supported:
874874

875-
* **y** - the vertical position; bound to the *y* scale, which must be a *band* scale
875+
* **y** - the vertical position; bound to the *y* scale, which must be *band*
876876

877877
If the **y** channel is not specified, the tick will span the full vertical extent of the plot (or facet).
878878

@@ -888,7 +888,7 @@ Returns a new tick↔︎ with the given *data* and *options*. The following chan
888888

889889
The following optional channels are supported:
890890

891-
* **x** - the horizontal position; bound to the *x* scale, which must be a *band* scale
891+
* **x** - the horizontal position; bound to the *x* scale, which must be *band*
892892

893893
If the **x** channel is not specified, the tick will span the full vertical extent of the plot (or facet).
894894

0 commit comments

Comments
 (0)