# Using Plot.bin and other transforms outside a graph context?

**URL:** <https://talk.observablehq.com/t/using-plot-bin-and-other-transforms-outside-a-graph-context/6737>\
**Category:** Help\
**Created:** [June 24, 2022, 11:36am UTC](https://talk.observablehq.com/t/using-plot-bin-and-other-transforms-outside-a-graph-context/6737 "2022-06-24T11:36:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Cobus](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/cobus/32/9670_2.png) [@Cobus](https://talk.observablehq.com/u/Cobus)\
**Post date:** [June 24, 2022, 12:39pm UTC](https://talk.observablehq.com/t/using-plot-bin-and-other-transforms-outside-a-graph-context/6737/2 "2022-06-24T12:39:24Z")

</div>

Hi, I think this might answer your question:

> [@Using plot() for data refinement only](https://talk.observablehq.com/t/using-plot-for-data-refinement-only/6722):
>
> Hi there, I am having a hard time refining my dataset with d3.group() and d3.rollup() and was wondering if it would be possible to use the easy syntax of the Plot library for grouping and stuff like that on the data records. I had something in mind like plot(data, plot.group({y: "count"}, {x: "age", y: ""})).getData(). Just a quick idea, maybe I just missed the point completely.

---

_[View the full topic](https://talk.observablehq.com/t/using-plot-bin-and-other-transforms-outside-a-graph-context/6737)._
