Philippe Rivière
Philippe Rivière
The table was an initial measurement of things, to get a sense of where time was spent. I should remove it. In my test with lots of polygons the computation...
I've opened a PR with the code change, and updated the demo notebook which was broken (because the temporary build file had disappeared).
You can also check out https://github.com/mfogel/polygon-clipping — I found it to be quite robust, and fast; see https://observablehq.com/@fil/hello-polygon-clipping for example usage.
Good to know, thank you!
IMHO the thank-you map is too peculiar to be the only example. But it's a good one.
please do something, it would be _super_ useful to be able to start without galering ;-) @brunob 's example is probably not missing much (https://github.com/brunob/earthquake/issues/1)
You can fix this particular notebook by dividing *y*: ``` polynomialRegression = d3.regressionPoly() .x(d => d.x) .y(d => d.y / 1000) .order(3); ``` I've noticed a similar issue if the...
It would be great to have it! In the meantime, you can use https://github.com/yongjun21/loess (see e.g. https://observablehq.com/@fil/hello-loess)
I suppose that if we define a _value_ option it could accept built-ins ("sum" and "count") as well as a more generic function.
a D3 example https://observablehq.com/@john-guerra/tree-value