Philippe Rivière
Philippe Rivière
DuckDB 0.8.0 was included in https://github.com/duckdb/duckdb-wasm/releases/tag/v1.26.0 We are currently using 1.24 (https://github.com/observablehq/stdlib/commit/89f27007453ea1919493dca3fb94b7a5bde03222), see https://github.com/observablehq/stdlib/blob/main/src/dependencies.js
Another feature would be to allow the user to specify values that must be in the domain; for example when you don't know exactly what the values will be in...
See also https://github.com/observablehq/plot/discussions/1976#discussioncomment-8225654
This looks useful; what's missing to take it out of draft mode?
Note: in order to minimize the diff, I did not wrap the call to initializer(options, ƒ). To do before merging.
rebased
When there is a label (which now defaults to the scale label), the swatches (color rect + color label) are now wrapped into their own div (.plot-swatch). We don't wrap...
Not to say that we should absolutely support every funky projection out there, but I'm weary of an approach that by design wouldn't allow to work, for example, with polar...
@jaanli I can show you how to use the Imago projection, but let's please open a separate discussion; this issue is about the reverse operation where you want to read...
Here's an example that uses the canvas API to measure text: https://observablehq.com/@fil/automated-label-placement-france#textMeasure