plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
The tip on the linearRegression mark is also a bit chaotic (#1835), since it points at invisible dots. I don't see why someone would activate it on that mark, though,...
By default, Plot positions tooltips automatically, changing the anchor so that the tooltip always remains within the canvas. The tooltip is always positioned in the center of the element it...
- [x] tests that show the input events - [x] ~~put the brush on top of the svg?~~ - [x] can we make it work if multiple marks are brushed?...
The [finite state machine](https://observablehq.com/@observablehq/plot-finite-state-machine?intent=fork) example shows the use of `strokeWidth` as a channel to vary widths. But getting this going on a map is proving tricky: https://observablehq.com/@jimjamslam/vary-stroke-width-on-map Without varying stroke...
As shown here: https://observablehq.com/@recifs/plot-grouped-tips 
When building an interactive app, we might want: 1. a pointer that only sets the value when we click 2. a pointer that doesn't stick when we click
In this Plot:  ```js Plot.plot({ marginLeft: 60, marks: [ Plot.frame({ fill: "silver" }), Plot.barX(data, { x: "Cantidad", fx: "type", fy: "p28" }) ] }) ``` we would like the...
This example, given by @mootari, where the right-most tip should have been chosen to anchor right:  ``` Plot.rectX([1, 1, 1, 1, 1], {...
Say you have an `activity` table that has active users by `date` and `login`. You might want to draw stacked dots, and then draw a line between active users. But...
 Here's a starting point; I'll make a notebook later. We have to change this from an ad hoc function to a proper transform (facet-aware etc). ```js { const positions...