Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diverging.domain([x0, x1][, pivot]) sets the domain from a 2-element extent & pivot #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 24, 2020

  1. diverging.domain([x0, x1][, pivot]) sets the domain from a 2-element …

    …extent and a pivot (default: 0)
    
    examples:
    -  d3.scaleDiverging().domain([-10, 145]).domain() // [-10, 0, 145]
    -  d3.scaleDiverging().domain([89, 145], 100).domain() // [89, 100, 145]
    -  d3.scaleDiverging().domain([112, 145], 100).domain() // [100, 100, 145]
    -  d3.scaleDiverging().domain([-112, -145], -100).domain() // [-100, -100, -145]
    
    solves d3/d3-array#132
    Fil committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    b004558 View commit details
    Browse the repository at this point in the history