MV Draw a plot in a RPGMaker MV game

Hello everyone. I'm new in JavaScript and I would like to create plugin that draws graph with two orthogonal axes, so I'd like to know if RPGMV contains libraries to draw figures, plots or diagrams.
Nothing specific to graphs, but I'd suggest the built-in Canvas API:
In terms of RPG Maker MV/Z's core scripts, the relevant context is usually accessed as the _context property of a Bitmap instance. These are usually defined for Sprite instances, e.g. sprite.bitmap.

E.g. check out the fillRect method of Bitmap (rpg_core.js).

Original thread: https://forums.rpgmakerweb.com/threads/draw-a-plot-in-a-rpgmaker-mv-game.168642/