plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
Dark mode almost works: the use of currentColor for stroke and fill is solving 90% of the problem. In some cases, though, it's not ideal: - in cars-parcoords we use...
It’d be nice to have a tooltip that shows the value nearest the mouse.
http://localhost:8008/?test=mobyDickFaceted has approximately 8 times the number of autoticks (26 letters vs 3.3 autoticks), and it's acceptable because it's single letters (there's even a bit of space left). With a...
Warnings are only documented in https://github.com/observablehq/plot/blob/main/CHANGELOG.md#041. ref. https://talk.observablehq.com/t/bar-chart-axis-is-inverted/6359/3
See https://observablehq.com/@observablehq/surprising-reverse-gets-eaten: if you have ~~~js Plot.stackY( Plot.selectMaxX({ order: "y", reverse: true })) ~~~ reverse: true is "eaten" by the select transform, and doesn't do anything. Applying maxX after stackY...
Similar to the `vl.strokedash()` channel in vega-lite, this channel could be used to display, for example, estimated values as dotted lines, i.e. depending on an indicator column in the dataset:...
Inspiration from https://twitter.com/GRSturge/status/1499000981870288914 : the ribbons are separated by gaps of constant height. I can reproduce without touching Plot's source code with this plugin: ```js function gapStackY({ y, gap =...
It would be useful to be able to make axes like this:  One way would be to support multi-line text labels. Another option would be to allow SVG nodes...