This example demonstrates computing a TopoJSON topology from a Voronoi diagram of random points using d3-voronoi. By computing the topology, cells can be coalesced using topojson.merge and topojson.mesh.
https://d3js.org/d3-voronoi.v1.min.js
https://d3js.org/d3-timer.v1.min.js
https://d3js.org/topojson.v1.min.js