Closed declann closed 6 years ago
The "datum" keyword is specific to Vega-Expression, but has not been surfaced anywhere in Voyager so a better UI would be a text box with autocomplete for field name (like you can see in Tableau) and supported Vega expression function.
This would be a lot of UI, Backend Design, and Maintenance. -- We don't have the resource to implement this. So if you think you can commit significant engineering time for this issue, let us know.
Note that we're focusing on integration with Jupyter. This means users can derive calculated fields easily in Python / Panda, so this UI, while useful, will be quite less important.
I get you. Similarly, I am embedding Voyager in a webapp and using Javascript to do my own calculated fields.
This is still - along with hierarchys I believe, a feature which would greatly expand what can be done with (vanilla) Voyager.
I don't think that I'll have the necessity or the time to implement these (in the short term certainly) , but if that changes I'll be in touch.
Thanks, Declan
Thanks. I'll close this for now then since we won't get to do this too.
Vega-Lite supports calculated fields via the Calculate transform. This should help, and makes this mainly a matter of UI work? What are the other complications? https://vega.github.io/vega-lite/docs/calculate.html
Attached a potential-UI sketch.