Skip to content

Commit fdec373

Browse files
committed
update README
1 parent 847e2d8 commit fdec373

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ The following *facet* constant options are also supported:
422422
* facet.**marginBottom** - the bottom margin
423423
* facet.**marginLeft** - the left margin
424424
* facet.**grid** - if true, draw grid lines for each facet
425+
* facet.**label** - if null, disable default facet axis labels
425426

426427
Faceting can be explicitly enabled or disabled on a mark with the *facet* option, which accepts the following values:
427428

@@ -450,7 +451,7 @@ When the *include* or *exclude* facet mode is chosen, the mark data must be para
450451

451452
[Marks](https://observablehq.com/@observablehq/plot-marks) visualize data as geometric shapes such as bars, dots, and lines. An single mark can generate multiple shapes: for example, passing a [Plot.barY](#plotbarydata-options) to [Plot.plot](#plotplotoptions) will produce a bar for each element in the associated data. Multiple marks can be layered into [plots](#plotplotoptions).
452453

453-
Mark constructors take two arguments: **data** and **options**. Together these describe a tabular dataset and how to visualize it. Options that are shared by all of a mark’s generated shapes are known as *constants*, while options that vary with the mark’s data are known as *channels*. Channels are typically bound to [scales](#scale-options) and encode abstract values, such as time or temperature, as visual values, such as position or color.
454+
Mark constructors take two arguments: **data** and **options**. Together these describe a tabular dataset and how to visualize it. Options that are shared by all of a mark’s generated shapes are known as *constants*, while options that vary with the mark’s data are known as *channels*. Channels are typically bound to [scales](#scale-options) and encode abstract values, such as time or temperature, as visual values, such as position or color. (Channels can also be used to order ordinal domains; see [sort options](#sort-options).)
454455

455456
A mark’s data is most commonly an array of objects representing a tabular dataset, such as the result of loading a CSV file, while a mark’s options bind channels (such as *x* and *y*) to columns in the data (such as *units* and *fruit*).
456457

0 commit comments

Comments
 (0)