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
consume bin options; allow bin options on output (#565)
* consume options
* Update bin.js
* don’t propagate count input label
* remove trailing comma
* all bin options on outputs
* rename test
* regenerate test output
* consume stack options, too
* lift default
* same with groups (#569)
* same with groups
* utc
* prettier
Co-authored-by: Mike Bostock <[email protected]>
Co-authored-by: Philippe Rivière <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1152,7 +1152,7 @@ To control how the quantitative dimensions *x* and *y* are divided into bins, th
1152
1152
***domain** - values outside the domain will be omitted
1153
1153
***cumulative** - if positive, each bin will contain all lesser bins
1154
1154
1155
-
If the **domain** option is not specified, it defaults to the minimum and maximum of the corresponding dimension (*x* or *y*), possibly niced to match the threshold interval to ensure that the first and last bin have the same width as other bins. If **cumulative** is negative (-1 by convention), each bin will contain all *greater* bins rather than all *lesser* bins, representing the [complementary cumulative distribution](https://en.wikipedia.org/wiki/Cumulative_distribution_function#Complementary_cumulative_distribution_function_.28tail_distribution.29).
1155
+
These options may be specified either on the *options* or *outputs* object. If the **domain** option is not specified, it defaults to the minimum and maximum of the corresponding dimension (*x* or *y*), possibly niced to match the threshold interval to ensure that the first and last bin have the same width as other bins. If **cumulative** is negative (-1 by convention), each bin will contain all *greater* bins rather than all *lesser* bins, representing the [complementary cumulative distribution](https://en.wikipedia.org/wiki/Cumulative_distribution_function#Complementary_cumulative_distribution_function_.28tail_distribution.29).
1156
1156
1157
1157
To pass separate binning options for *x* and *y*, the **x** and **y** input channels can be specified as an object with the options above and a **value** option to specify the input channel values.
0 commit comments