Conversation
- Negative values always result in diverging stacking. (By contrast, in d3-shape an explicit diverging offset must be invoked.) - Offsets: expand and silhouette are similar to d3-shape, but taking into account negative values. wiggle… - Series can be grouped by z, fill, stroke, title… - The cumulative sum happens in a configurable ranking order; built-in orders are: - stacked lines with position=<top (default),center,bottom> or <right (default),center, left> - data transform ƒ - data order (will be passed up to the stackArea or stackLine mark) - x is location, y is value, z is series - export stack as the core transform, and stackX, stackY for convenience - stacking works as expected with faceting See API documentation at https://observablehq.com/@data-workflows/plot-stack-options Test plots: - caltrain stem & leaf - wiggle streamgraph (RIAA music industry US revenue) - police deaths - unemployment by industry
Closed
Contributor
Author
|
Two more things to do:
|
Merged
Contributor
Author
|
superseded by #177 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See API documentation at https://observablehq.com/@data-workflows/plot-stack-options
Test plots:
Supersedes #110
closes #109
closes #22
closes #113