observablehq / plot

A concise API for exploratory data visualization implementing a layered grammar of graphics
https://observablehq.com/plot/
ISC License
4.27k stars 174 forks source link

Seasonal transform #2137

Open fgregg opened 4 weeks ago

fgregg commented 4 weeks ago

I find myself making a lot of cycle / season line charts like https://observablehq.com/@fgregg/chicago-citykeys-issued

Right now, i have to do some data munging to do them, and it would be really great if it was a supported transform.

perhaps relates to #133

Fil commented 4 weeks ago

Yes it would be useful to have as a cycle: "1 year" scale option, maybe? Related experiment: https://observablehq.com/@observablehq/plot-cyclical-time-scale

fgregg commented 4 weeks ago

wow, that's such a nice solution @Fil!

fgregg commented 4 weeks ago

a cycle option would be great, maybe with a cycle_start: 06-01 option as well?