observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Chart cell not compatible with arquero table #571

Open TomBor opened 1 year ago

TomBor commented 1 year ago

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

CobusT commented 1 year ago

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.

TomBor commented 1 year ago

Thank you @CobusT !

prabhasp commented 5 months ago

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