Skip to content

Plot.normalizeX and Plot.mapX have different structure #479

Description

@mbostock

I was confused because I tried to do Plot.normalizeX(basis, options), which is similar to Plot.mapX(reducer, options), but it didn’t work! Instead you need to do Plot.normalizeX({basis, ...options}). Maybe it’d be nice to support both forms just in case you don’t read the documentation as closely as you should.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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