Skip to content

Only apply font-variant: tabular-nums to axis ticks #601

Closed
@mbostock

Description

@mbostock

We’re currently applying it to everything, which doesn’t look great on axis labels and text marks that aren’t strictly numbers. I think it’d probably be a better default to only apply to axis ticks (which are typically numeric or dates, both of which would benefit from tabular numerals) and perhaps selectively text marks where the text channel is formatted numbers (and perhaps dates). It doesn’t look good in swatches, either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions