3 ms·
I have mixed feelings. I agree that "y-axis should start at zero" should not be been as a sacred guideline by any means. But I reflexively feel that in the cont
by danso 7y ago
I have mixed feelings. I agree that "y-axis should start at zero" should not be been as a sacred guideline by any means. But I reflexively feel that in the context of a data viz library, the default should be zero; thus requiring the user to explicitly set a minimum when needed, and to conscientiously do so.
But I do realize that practically speaking, it is much easier to set a y-axis to 0 (i.e. a constant value), rather than having to calculate the y-min or near-y-min for every chart.
- mattkrause 7y agoHow would that work with negative data?
- datashow 7y agoWhat do you mean? Zero original point does not work with negative data?
- mattkrause 7y agoThe OP's suggestion was that the y-axis should start at zero by default, not min(y). However, this seems like it would lead to empty plots when the data is all or mostly negative.
- datashow 7y agoNot really. Plot can be shown above and below the x-axis.