Vega re-aggregation alpha

Nate Agrin · Friday Demos · September 19, 2025 · 5:04

We're continuing to experiment with ways to make giant data sets visualize quickly and intuitively. Still more to figure out here, but progress on these new workflows.

Try it yourselfThe full week on docsperformancevisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Okay, that's one demo. Um, this next demo is uh very much a work in progress. Um, so consider it vaporware, but kind of like a quick early preview of something we're playing around with. All right. So, I'm on playground and uh we've seen that a lot of customers do this thing, especially if they're coming from tools like mode where they just want to grab a big wide view of a table.

  2. Um, and you know, they might do something like this and then they might do something crazy like for whatever reason bump this up to 50,000. Definitely don't recommend you do this. um because it's it's a lot of data. And then they flip to charts and then they say like, "Oh, let's make a line chart." You can see this is really slow.

  3. So that was like a a big amount like a large amount of lag. um you know like this chart is nonsense obviously but um I don't know if you can see it through the video but like basically tool tip rendering is very slow. Um in any case it's just generally a bad experience. Okay. So let me show you this is my local.

  4. It's kind of this thing we're experimenting with. do the same thing. Uh just making some quick modifications for the sake of the demo. Um okay. And I'm going to I'm going to do one step here that's there's like a broken part of the demo that I'm going to manually fix. But uh so there's like a little bit of a man behind the coding effect that's going to happen.

  5. But now I click on line. Oh, whoops. Sorry. Let me let me go back to table real quick. Forgot to bump my limit to make this a fair test. So, going up to 50,000. I forgot to include a count. Okay, here we go. All right. So, now I'm like huge crazy data table and I click line and I should get a broken line chart.

  6. Sweet. Okay, cool. So, uh, let me do my little smoke and mirrors. Um, there's a very minor bug here. All right. So, now um, actually, let me make one more change. Sorry, I did say this was a very rough demo. Uh I'm going to just take that out of here. So, we have a an issue with colors that we're also chasing, but um okay.

  7. So, now we go to advanced and you can see like the whole UI is pretty laggy. Um, come on. Reset. All right. Fix the bug. Okay. So now if the demo guides are with me, um like this is still a bit slow, but uh it's significantly faster than what we were trying to do or trying to render before.

  8. And the reason why is we're basically trimming the data that we're rendering and looking at way down by trying to dynamically reagregate in the viz. Um there are a lot of open questions about this approach like you know if we do things like sum sums or average averages like what is the data going to look like and we're still working on how to present warnings um to the user so that you know we're not communicating bad data.

  9. Uh but this does significantly improve performance when you have uh exceptionally large data sets. Uh yeah so that's it. This is uh an idea that Colin's been pushing. So, I did a quick spike this week and that's kind of where we got. I'll come back for uh the last two demos in a minute.