plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
It would be awesome if there was an easy way to update legend labels to (e.g. to title or sentence case) if the original data has them in a less...
For discussion, as a way to address #493 by adding a warning (#755) when some channel values are ignored. Q: should this be opt-in or opt-out?
This adds support for marginTop, marginBottom and marginRight (in pixels), but keeps the existing defaults (margin-left: 0px, margin-bottom: 0.5em;) to minimize churn. We might want to revisit at a later...
Cumulative facets. Built as a follow-up to #1085. Supersedes change2 of #1041.
_demo for this PR: https://observablehq.com/@observablehq/plot-facet-annotations-1041_ The changes listed below address the following issues: ## Facets are currently exclusive A single datum can’t currently appear in two different facets. This results...
Closes #1081 The internal changes are pretty substantial, but hopefully easy to read. Note that one unit test changes because the order of the index returned by the "exclude" option...
Suppose the data is given as an object of columns: `df = {x: [1, 2, 3], y: [1, 2, 3]}` (This is how Quarto returns dataframes, and arquero does something...
Demo: https://observablehq.com/@observablehq/plot-image-rotate-1084 closes #1083 todo: - [ ] unit test - [ ] dx, dy— & anticipate what will happen if dx and dy become variable
This PR uses a `types.ts` file for authoring the types (this is just for convenience, since I find it easier to write typescript types than use the JSDoc syntax), and...
It would be really handy for me if `image` marks had the `rotate` option just like `dot` marks do. My particular use case is making a diamond chart, which requires...