-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
An ordinal scale would be a useful feature. I think d3 already has this?
The ordinal type allows for rank order (1st, 2nd, 3rd, etc.) by which data can be sorted, but still does not allow for relative degree of difference between them. Examples include, on one hand, dichotomous data with dichotomous (or dichotomized) values such as 'sick' vs. 'healthy' when measuring health, 'guilty' vs. 'innocent' when making judgments in courts, 'wrong/false' vs. 'right/true' when measuring truth value, and, on the other hand, non-dichotomous data consisting of a spectrum of values, such as 'completely agree', 'mostly agree', 'mostly disagree', 'completely disagree' when measuring opinion.
My current use case is plotting financial data which should only accept Monday through Friday as valid x-scale values. Saturdays and Sundays should not effect the x-scale. Currently however a line will be drawn between Friday and Monday of two-day length compensation for the 'missing' data on Saturday and Sunday.
Thoughts?