# Vega charts for object sets with more than 50k objects

**URL:** <https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434>\
**Category:** Ask the Community\
**Tags:** quiver\
**Created:** [June 14, 2024, 1:01am UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434 "2024-06-14T01:01:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharan](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sharan](https://community.palantir.com/u/sharan)\
**Post date:** [June 14, 2024, 1:01am UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/1 "2024-06-14T01:01:50Z")

</div>

I’m trying to use the Vega board in Quiver to plot a bar chart with a threshold line (as offered in the template), but it looks like the object set feeding into it can only have a maximum of 50k objects. I see that the bar plot chart works fine at a higher scale (even in the millions) however, though it doesn’t meet my needs.

What options do I have for generating Vega charts with more than 50k objects, that ideally don’t require creating additional ontology entities? I don’t seem to be able to use transform tables either.

---

<div class="post-metadata">

**Author:** ![comew](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@comew](https://community.palantir.com/u/comew)\
**Post date:** [June 14, 2024, 8:10am UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/2 "2024-06-14T08:10:08Z")

</div>

The 50k objects limit isn’t exactly on Vega charts: Vega plots accept data from transform tables which have a limit of 50k rows.

If you want to plot a bar chart, I imagine that you run an aggregation in the Vega plot configuration, such as counting different values of a grouped by property. You could do this aggregation upstream of the transform table instead: in an [expression materialization card](https://www.palantir.com/docs/foundry/quiver/cards-index-materializations/#expression), you would define the same aggregation, and then feed this smaller number of rows to the transform table, instead of all objects.

---

<div class="post-metadata">

**Author:** ![jbaird](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@jbaird](https://community.palantir.com/u/jbaird)\
**Post date:** [June 14, 2024, 7:37pm UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/3 "2024-06-14T19:37:37Z")

</div>

Transform tables and Vega plots load all the data into the browser, so there are scale limitations compared to other cards. As @comew mentioned, we recommend filtering or pre-aggregate the data before feeding it into Vega, using cards of “Object set” or “Materializations” data types.

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [December 8, 2024, 12:07am UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/4 "2024-12-08T00:07:45Z")

</div>

Automatically bumped on December 8, 2024, 12:07am UTC



---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [May 24, 2025, 11:51pm UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/5 "2025-05-24T23:51:34Z")

</div>

Automatically bumped on May 24, 2025, 11:51pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [April 4, 2026, 2:34pm UTC](https://community.palantir.com/t/vega-charts-for-object-sets-with-more-than-50k-objects/434/6 "2026-04-04T14:34:02Z")

</div>

Automatically bumped on April 4, 2026, 2:34pm UTC


