So, I have the following data array:
shipGrid = [
['0','0','0','0','0','0','0','0','0','0'],
['0','0','0','0','0','0','0','0','0','0'],
['0','0','1','0','0','0','0','1','0','0'],
['0','0','0','0','0','0','0','0','0','0'],
['0','0','0','0','1','1','0','0','0','0'],
['0','0','0','0','0','0','0','0','0','0'],
['0','0','1','0','0','0','0','1','0','0'],
['0','0','0','1','1','1','0','0','0','0'],
['0','0','0','0','0','0','0','0','0','0'],
['0','0','0','0','0','0','0','0','0','0']];
What I translated into this interactive group <li>:

Is it possible to convert this array from <li>to an image of some? It should not be just PNG, GIF or JPG - it can be a thing based on SVG or Vector.
I am a little puzzled, I would like to do this without a server language, so I thought maybe in the SVG library or it will work fine ...?
Greetings.
edit: This is necessary for viewing in the browser itself.