feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Chart cell not compatible with arquero table

Open TomBor opened this issue 1 year ago • 3 comments

Describe the bug In a chart cell, a list of all datasource (cells or attachment) is proposed but cells with arquero table are not shown. Even so, arquero table works well with Plot.

To Reproduce Steps to reproduce the behavior:

  1. Create an arquero table in a cell. For example: data = aq.from(weather)
  2. Add a chart cell and try to select the data cell. But it's not in the list...

Expected behavior Arquero table should be listed in Cells like array are.

Screenshots See this notebook as example : https://observablehq.com/@tombor/arquero-table-in-chart-cell

TomBor avatar Apr 27 '23 08:04 TomBor

I just sent you a suggestion for a workaround... you can insert a Data table cell that would convert the Arquero table to a format that can be used as a data source for the Chart cell.

CobusT avatar Apr 28 '23 19:04 CobusT

Thank you @CobusT !

TomBor avatar May 03 '23 08:05 TomBor

+1 on this issue. I typically use .objects() to work around this issue, but would be great to not have to do that.

prabhasp avatar Jan 18 '24 21:01 prabhasp