Open
Description
The stack transform could be extended from point bases to segment bases, where something extends from start to end.
Various kinds of outputs can be generated, depending on what we want to achieve:
- a single value y for each segment (piling up straight segments into "lanes")
- a series of (x, y) values for each segment (typically for a burndown chart)
- a series of (x, y) values, with a reducer such as "max" or "sum" (typically for a coverage chart)
Prior art:
- “canadian wildfires II” (unpublished notebook, see lanes, first image below)
- https://observablehq.com/@tmcw/github-burndown
- https://genomespy.app/docs/grammar/transform/coverage/