tomecsek
tomecsek

Reputation: 417

Tranform Vega Lite into Vega

I would like to create a chart in Vega that concatenates three views. The idea is to use an outer 'hconcat' to combine an inner 'vconcat' of two charts—a line chart and a horizontal bar chart—on the left side. These two charts share a common x-axis but have independent y-axes. Additionally, I aim to include a third chart—a vertical bar chart—on the right side, which will have different x-axis and y-axis scales.

I can achieve this in Vega-Lite but haven't been able to find any references or examples for this specific layout in Vega. Can anyone help with identifying the workaround in VEGA?

Thank you!

Upvotes: 1

Views: 73

Answers (1)

davidebacci
davidebacci

Reputation: 30304

If you paste your VL code in the editor, you can click the following button to see the transpiled Vega code.

enter image description here

Upvotes: 1

Related Questions