Skip to content

The default tickFormat with a collapsed domain lacks sufficient precision #286

@Fil

Description

@Fil
d3.scaleLinear().domain([5.5, 5.5]).tickFormat(7.5)(5.5) // "6"

We don’t handle the tick step being zero well.

(originally observablehq/plot#2076 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions