Philippe Rivière
Philippe Rivière
The crucial thing here is that even if another cell uses the same query (`SELECT * FROM x WHERE y`), its *strings* will not be `===` to those of the...
Ah… bummer. If you write `Promise.all([1, 2, 3].map((i) => sql(["SELECT", ""], i)))` instead it works, because it's a new array each time. MDN [explains](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) the difference: “For any particular tagged...
I believe this was superseded by #1748
I'm not opposed to the idea, but this can be written as a map: `Plot.mapX((v) => v.map((d) => d + random(), { … x: "rating" … })` which might be...
Yes, I've left out the definition of random :-) Some might want a seeded randomNormal instead of uniform.
For this particular chart, since the category is given by the facet **fy**, you can use **y** to jitter: `Plot.dot(data, { x: "date", fill: "cat", r: 1.5, fillOpacity: 0.5, y:...
Sure! You could also say `y:{ axis: null, domain: [-0.5, 1.5]}` (since the random distribution covers `[0, 1]`, this would leave some gaps too). Many options!
I'm sorry we are getting PR spammed.
Interestingly when I test this, the minification reinstates the unescaped higher-plane utf-8 characters: ``` grep -o "[^ -~]" dist/d3-format.min.js µ − ```
Testing various browsers at random I didn't find any case of dissymmetry https://observablehq.com/@fil/sin-x-sin-x