Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork21
Map Docs#70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Map Docs#70
Uh oh!
There was an error while loading.Please reload this page.
Conversation
netlifybot commentedMay 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview forsvelteplot ready!
To edit notification comments on pull requests, go to yourNetlify project configuration. |
Wolfr commentedMay 28, 2025
Awesome. |
jesi-rgb commentedMay 29, 2025
As I'm writing this section,@gka, I find it weird that the current available transforms are inside a "Map" category. As per I would expect a Map transformer to receive a callback function that transforms the data in some way. For example, taking all Athlete names and converting them to a smaller format: "Michael Phelps" → "M. Phelps" This is a small example but I think it gets the point across of what I'm trying to say. Maybe the current "Map" section could be called "Summarize", a series of transformations to summarize the data, in which we can now include the rest of the available methods, like sum, min, max, and so on. Maybe I'm understanding it wrong, though! Would love if you could shed some light on this topic! |
jamesscottbrown commentedMay 29, 2025
I'd expect a I'd expect a Cumsum, rank and quantile transform a list of values to another list of values, so I think they're more appropriately described as However, I would generally expect a |
jesi-rgb commentedMay 30, 2025
I guess this is the core issue: it's a cumsum is a Map because it receives an array and outputs an array of the same size, but output is dependent on all elements GlobalMap, or something along those lines could work. I do agree, though, to stick to Observable's API naming. In fact, I was trying to stick with d3's! |
Uh oh!
There was an error while loading.Please reload this page.
fixes#10