plot
plot copied to clipboard
Hide tick labels when an ordinal x or y has a high-cardinality domain.
Per https://github.com/observablehq/plot/pull/75#issuecomment-751497435 we want to hide the axis if it has much too many ticks.
Another thought here is that we could use tickRotate to default to vertical ticks on the x-axis when there are too many ticks.
Related #1789 #1790 which addresses this for time series (which is not the only case, but is a common one — and one where you can typically drop labels without losing meaning, unlike ordinal data in general).