With a 'canvas' element any kind of 2D drawing or plotting is possible. Here we set individual pixels values, then write text.

Note that no extra libraries or plugins are required to create graphics in HTML5. They often make it easier, but the graphics capability is there in the browser.