<canvas id="HexCanvas" width="1000" height="700"></canvas>

<script>
    var hexagonGrid = new HexagonGrid("HexCanvas", 50);
    hexagonGrid.drawHexGrid(6, 300, 300);
</script>

<canvas id="HexCanvas" width="1000" height="700" class='img-responsive' style="border: 1px solid black;"></canvas>

<script>
    var hexagonGrid = new HexagonGrid("HexCanvas", 50);
    hexagonGrid.drawHexGrid(6, 300, 300);
</script>

Make canvas reactive using bootstrap
Make canvas reactive using bootstrap
