plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
It's just one possibility among several (I've based this on mbostock/arrow since it involves quite a few changes in the legends section) related: https://github.com/observablehq/plot/pull/539 https://github.com/observablehq/plot/pull/432 https://github.com/observablehq/plot/pull/583 todo: - [ ]...
In an upcoming Plot release, we should document how to implement custom mark types and expose the necessary internals to make this easier. Ideally, all of Plot’s built-in mark types...
* internal selection boolean channel & dataflow * internal dispatch * clickable option on dots and rules * merge https://github.com/observablehq/plot/pull/71 * onchange handler * marks always have a nodes property...
Can Plot expose some kind of `update()` function so we could somehow either reuse elements or only re-render certain marks (like a rule + text that gets moved around based...
The color legends should display the unknown color if it is set, possibly with an unknownLabel that default to "unknown" (or "N/A", "invalid"?) Note that if d3.scale adds scale.high /...
Trails
Ref. https://observablehq.com/@fil/trail-marks Ref. https://observablehq.com/@fil/comet-chart-2d Ref. https://vega.github.io/vega/docs/marks/trail/
If you want ticks at a specific time interval, you can currently do that as _e.g._ `ticks: d3.utcDay`. It’d be nicer if you could use a named string instead, say...
position the text relative to the anchor anchor can be any of "top", "bottom", "left", "right" or combinations such as "top-left" demo: https://observablehq.com/@observablehq/text-facet-alignment-523 closes #523 todo: - [x] create unit...
ref. #80 Todo: - [ ] "grammar of graphics": how to make this work naturally with the other transforms (stackX, groupX) 🌶 - [x] pie mark - [ ] pie...