HarryStevens
Use Geometric.js to calculate a polygon's bounds.
https://d3js.org/d3.v5.min.js
https://unpkg.com/geometric@1.0.11/build/geometric.min.js