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
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -359,8 +359,8 @@ The *facet* option enables [faceting](https://observablehq.com/@data-workflows/p
359
359
Similar to [marks](#marks), faceting requires specifying data and at least one of two optional channels:
360
360
361
361
* 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*
364
364
365
365
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)
366
366
@@ -545,7 +545,7 @@ If neither the **x1** nor **x2** option is specified, a **x** option may be spec
545
545
546
546
In addition to the [standard bar channels](#bar), the following optional channels are supported:
547
547
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*
549
549
550
550
If the **y** channel is not specified, the bar will span the full vertical extent of the plot (or facet).
551
551
@@ -564,7 +564,7 @@ If neither the **y1** nor **y2** option is specified, a **y** option may be spec
564
564
565
565
In addition to the [standard bar channels](#bar), the following optional channels are supported:
566
566
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*
568
568
569
569
If the **x** channel is not specified, the bar will span the full horizontal extent of the plot (or facet).
570
570
@@ -576,8 +576,8 @@ If the **x** channel is not specified, the bar will span the full horizontal ext
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
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*
581
581
582
582
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.)
583
583
@@ -617,7 +617,7 @@ In addition to the [standard mark options](#marks), the following optional chann
617
617
618
618
***x** - the horizontal position; bound to the *x* scale
619
619
***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*
621
621
622
622
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.)
623
623
@@ -872,7 +872,7 @@ Returns a new tick↕︎ with the given *data* and *options*. The following chan
872
872
873
873
The following optional channels are supported:
874
874
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*
876
876
877
877
If the **y** channel is not specified, the tick will span the full vertical extent of the plot (or facet).
878
878
@@ -888,7 +888,7 @@ Returns a new tick↔︎ with the given *data* and *options*. The following chan
888
888
889
889
The following optional channels are supported:
890
890
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*
892
892
893
893
If the **x** channel is not specified, the tick will span the full vertical extent of the plot (or facet).
0 commit comments