React wrapper for @observablehq/plot, a JavaScript library for exploratory data visualization.
yarn add plot-react
or
npm i plot-react
<PlotFigure />
Renders a new plot given the specified Plot.plot() options as SVG or HTML figure element.
<PlotFigure
options={
{
// ... Plot.plot() options
}
}
/>