ort of https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks
			function niceScale(dataMin, dataMax, maxTicks) {
				let range = niceNum(dataMax - dataMin, false);

				let incr = niceNum(range / (maxTicks - 1), true);

				return {
				//	dec,  // num decimals needed for tick differentiation
					incr,
					min: Math.floor(dataMin / incr) * incr,
					max: Math.ceil(dataMax / incr) * incr,
				};
			}

			function niceNum(delta, round) {
				let exp = Math.floor(Mat