Skip to content

mafs ​

This component is the entrypoint into rendering visualizations. It must wrap all other Mafs components. On its own, it renders a blank canvas.

basic ​

Hello f(x) ​

Try to drag it to view more.

View Box ​

you can specify the data range of the coordinate axis using view box.

Props ​

  • viewBox – { x: [min, max], y: [min, max], padding?: number }, controls the visible coordinate range and optional padding (defaults to [-6, 6], [-3, 3], 0.5).