All examples By author By category About

GerHobbelt

d3.js: Q: pack layout with images

Experiment ……

==========================================================================

A little alternative way to use the SVG object and D3:

D3 code creates a layout-based mask, where each node is a circle + circle-clipped 'silhouette' image, which is, of course, included in the generated mask.

WARNING: clip-mask applied to elements inside a SVG mask don't work in Safari/Win; Chrome works okay, so this result is best viewed in bleeding edge Chrome.