No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

<VegaLite> React Component

Will recompile when spec changes and update when data changes.
<VegaLite data={this.state.data} spec={this.state.spec} />

ReactVegaLite.createClassFromLiteSpec()

Use the given spec to create a reusable component.
const BarChart = ReactVegaLite.createClassFromLiteSpec(spec1);
<BarChart data={this.state.data} />