Philippe Rivière

Results 970 comments of Philippe Rivière

1000 is the conversion from ms to seconds :) If I remember correctly the magic number is A = 5000 (5 seconds) in https://github.com/Fil/d3-inertia/blob/master/src/index.js#L83 Contributions welcome!

issue 2 is more complicated, we need an API call to pilot the movement (with a possibility to call it in screen as well as in spherical coordinates)

found it! here's the patch that works for me (on Mac OS X): ``` diff --git a/website/manage.py b/website/manage.py index 6fd85de..333e602 100755 --- a/website/manage.py +++ b/website/manage.py @@ -11,7 +11,7 @@ except...

I can see how it would be useful, esp. if it returned a Float64Array (or had some option like `dtype`), and satisfy #90 at the same time. Not sure about...

I made pivot 1 as a generator for your amusement https://observablehq.com/d/ac2a320cf2b0adc4

See also https://observablehq.com/@tomfevrier/kiwis

An example here https://observablehq.com/@didoesdigital/16-july-2020-data-wrangling-for-population-pyramids ; in that case the "best" strategy, it seems, is a flatMap https://observablehq.com/@didoesdigital/16-july-2020-data-wrangling-for-population-pyramids#pyramid

Implemented in https://observablehq.com/d/f7139ebca0286081 it's a bit less performant than d3.quantile since I used sort instead of quickselect. (It might be possible to use quickselect iteratively. [EDIT:] it's probably too difficult,...

Also, not sure about the API. The typical use case might be with `data=[{value, weight},…]` so we would need two accessors. But then, when we have an array of weights...