Philippe Rivière
Philippe Rivière
We could have an option to sort the scaled X channel of a lineY—currently the sort option sorts the unscaled channel, which makes it difficult to sort x if it...
If we do an “Extending Plot” page, maybe it should cover more than the render function? For #1711
This should display "# of specimens" as the y label: ``` Plot.barY( penguins, Plot.groupX( { y: {reduce: "count", label: "# of specimens"}, fill: (values) => d3.mode(values) }, {x: "species", fill:...
For when you want a "marginal distribution" (#791) anchored to the right of the frame _and pointing outside_; this could be controlled by frameAnchor: "right", anchor: "left"? https://observablehq.com/@recifs/marginal-dodge-plot
> Plot.dot(penguins, Plot.dodgeY({ x: "body_mass_g", r: -1 })).plot() `RangeError: Maximum call stack size exceeded `
It would be nice to have a generic way to customize the size of markers (for ticks, arrow heads etc)? (broken out of #1892, see also https://github.com/observablehq/plot/pull/1891#issuecomment-1785993000)
Demo: https://observablehq.com/@observablehq/pointer-z-1671 Questions: - Do we always follow an explicit *z*? ✓ - Do line marks (and area, etc.) set _z_ when the _stroke_ or _fill_ option is specified? ✓...
auto margins
Alternative to #1714. The axis mark sets the value of marginLeft (etc.) not to a number, but to a special value ("auto", not a symbol if we want to keep...
If there is no *x* and *y* channels (or maybe *px* and *py* ??), but we have a geometry channel, the tip: true option should derive these coordinates with Plot.centroid.
TODO: - [x] switch to use applyFrameAnchor - [x] vertical tests ? - [x] restore errors when both x and y are missing? - [x] update documentation closes #1541