A very simple example of how to run the wonderful JavaScript API for vega-lite using React. The key here is to create a wrapper component that uses an effect (for hooks), or componentDidMount (for regular components) to render the visualization.
Built with blockbuilder.org
forked from john-guerra‘s block: vega-lite JavaScript API browser example