react-vega-lite
react-vega-lite copied to clipboard
datasets top level key
I'm trying to embed a VegaLite spec into a react project.
I don't need to dynamically change the data or visualization, as the spec is being generated by the backend (w/ altair). As a result, the data is embedded using the top level datasets
key, and the other information is in a vconcat
.
In this scenario, in which I don't need to pass data=
to the VegaLite
component, would the spec be rendered appropriately?