Skip to content

Conversation

@Fil
Copy link
Member

@Fil Fil commented Jun 24, 2020

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

…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 Fil requested a review from mbostock July 27, 2020 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants