plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
Cf. https://llmstxt.org/. Nice example: https://github.com/tldraw/tldraw/pull/5688.
On the first chart, the right-hand side of the top bar should be a gradient towards the blue/purple, instead of green. The charts below (using different interpolators) are correct. ([notebook](https://observablehq.com/@observablehq/ramp-barycentric-2312))...
I'm not quite sure if this would be considered a bug (or whether it's really fixable), but the snippet below has a type error unless the type is asserted through...
For charts with dense or overlapping labels, it would be useful to have a way to create repulsive labels to avoid overlap (similar to [ggrepel](https://github.com/slowkow/ggrepel) for ggplot2).
Hello, I’m currently working on a Vue application using this project and am building SSR charts with Nuxt. Most things are functioning well, but I’ve encountered an issue with the...
Users can sticky a pointer selection by clicking. However, to unsticky it again they have to click outside the currently rendered mark elements: https://github.com/observablehq/plot/blob/90a56897cabda400e2b7537f8ecbbd2cebd18f7f/src/interactions/pointer.js#L167 I frequently find myself stumbling over...
Consider the following example where a bar mark is used to highlight and pick selections, with a dot mark on top that has external links. Clicking on any of the...
e.g., https://next.observablehq.com/d/0e0c0dcb66d6714e ```js function other(valueof, domain, unknown) { if (typeof valueof !== "function") valueof = field(valueof); domain = new Set(domain); return (d, i, data) => { const value = valueof(d,...
 ```js Plot.dot(olympians, {x: "weight", y: "height", dataset: Plot.identity}) ```
I noticed a small bug where a raster mark throws an error if you use the data-less `raster({ fill: (x, y) => ... })` form and include a tip. Notebook:...