I need to show only N ticks at ordinal scale.
Is it possible to do the same with ordinal values?
.ticks(N) doesn't work for some reason, so for every value that I put in .domain() new tick will be generated.
How can I limit amount of ticks? Of course I can put only N medium values to domain, but how I will recount them on brush move, brush can only return x/y/extent
Thanks