View in #general on Slack
@Siamak_Haschemi: Dear Cubernauts ( :cube: ), did someone ever tried combining Cube.js and Vega/Vega-Lite/Vega-React ?
Vega: Vega: A Visualization Grammar
@Igor_Lukanin: Hey @Siamak_Haschemi Wow, thanks for the question! Vega is great, however, I’m not aware of any efforts to combine Vega and Cube.js.
My understanding is that it should be pretty easy to use the data that Cube.js provides via it’s API as the
"data" of a Vega JSON specification. It looks very similar to using Cube.js with charting libraries, like Highcharts or Chart.js.
@Siamak_Haschemi, are you doing a project with Vega? I’d love to know more
@Siamak_Haschemi: @Igor_Lukanin We are still trying to find the level of control in the reporting-layer (above cube.js) which fits our company:
- Datastudio, Power BI,
chart.io, Looker, Superset, …
- Vega(-Lite), Highcharts, chart.js, …
- D3, …
Seems we need to choose between 2. and 3., but we think something in between is missing. Chart.io now switches to Vega in their backend, and I think vega is promising also for us. Just that it still feels too much effort for building dashboards with drilldown-capabilities when working on vega-level.
Vega is also used in elasticsearch/kibana.
So we struggle to use the underlying vega(litte), or a higher abstraction.
So to answer shortly: No, not yet But I will experiment with it to see if we are on something.
Just :cube: feels right where it is: Pre-Aggregation and Caching above our DBT prepared BigQuery datasets
@Igor_Lukanin: @Siamak_Haschemi Looks like you’re doing a very thorough research, kudos! Also, thank you for the kind words about Cube.js. Please don’t hesitate to share what technology stack will be the one of your choice when you finally settle. Would love to know about that!
@Siamak_Haschemi: Definitely we will share our solution.