I'm working on a board game and would like to build dynamic board builder/generator for the web.<p>Do you know of any JavaScript OSS libraries for working with clickable hexagon grids in HTML?<p>Or would go straight to something more custom like D3 / SVG?<p>Thanks!
Start with the canonical resource for how to draw hexes in code:<p><a href="https://www.redblobgames.com/grids/hexagons/" rel="nofollow noreferrer">https://www.redblobgames.com/grids/hexagons/</a>
I made an online hexagonal chess game a few months ago. You can see how I did it with plain HTML/CSS/JS:<p><a href="https://github.com/surprisetalk/chexs">https://github.com/surprisetalk/chexs</a>