Skip to content

Commit aa0207d

Browse files
committed
Update README
1 parent b936a76 commit aa0207d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ A scale’s domain (the extent of its inputs, abstract values) and range (the ex
171171

172172
* *scale*.**domain** - typically [*min*, *max*], or an array of ordinal or categorical values
173173
* *scale*.**range** - typically [*min*, *max*], or an array of ordinal or categorical values
174-
* *scale*.**reverse** - reverses the domain, say to flip the chart along *x* or *y*
174+
* *scale*.**unknown** - the desired output value (defaults to undefined) for input values outside the domain
175+
* *scale*.**reverse** - reverses the domain (or in somes cases, the range), say to flip the chart along *x* or *y*
175176

176177
For most quantitative scales, the default domain is the [*min*, *max*] of all values associated with the scale. For the *radius* and *opacity* scales, the default domain is [0, *max*] to ensure a meaningful value encoding. For ordinal scales, the default domain is the set of all distinct values associated with the scale in natural ascending order; for a different order, set the domain explicitly or add a [sort option](#sort-options) to an associated mark. For threshold scales, the default domain is [0] to separate negative and non-negative values. For quantile scales, the default domain is the set of all defined values associated with the scale. If a scale is reversed, it is equivalent to setting the domain as [*max*, *min*] instead of [*min*, *max*].
177178

0 commit comments

Comments
 (0)