Installation

Material Vega's core package can be used directly with vega-embed or React-Vega. Additionally we have a separate package we recommend for Material UI users.

HTML

Using vega-embed and @material-vega/core.

npm install vega vega-lite vega-embed @material-vega/core

React Vega

Using react-vega and @material-vega/core.

npm install vega vega-lite vega-embed react-vega @material-vega/core

Material UI

Using @material-vega/material-ui.

npm install react vega vega-lite react-vega @material-ui/core @material-vega/core @material-vega/material-ui