Differently from the previous examples (1, 2, 3), this experiment adds the concept of viewport for loading the tiniest quads in the map. The idea is to shows the smallest quads within the blue viewport in order to prevent the loading of large amount of data. In the next gist the viewport will be combined with a level of detail mechanism.
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://jsclipper.sourceforge.net/6.1.3.1/clipper.js to a secure url
https://d3js.org/d3.v3.min.js
https://jsclipper.sourceforge.net/6.1.3.1/clipper.js