Skip to content

Multi-line tick labels #460

Closed
Closed
@yurivish

Description

@yurivish

It would be useful to be able to make axes like this:



image

One way would be to support multi-line text labels.

Another option would be to allow SVG nodes to be used as ticks rather than coercing the output of tickFormat to a string, which is the current behavior.

Here is a notebook which "almost works": https://observablehq.com/d/7de079c962f419f8

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