D3.js Multi-Foci Force layout animated

A snippet to create an interactive and draggable Multi-Foci force layout in Javascript, SVG e D3.js:


An real world example is visible in the homepage of our website, http://www.unshift.xyz or in the following video:

Fabio Biondi

I am an italian developer with over 10+ years of experience in developing custom user interfaces and interactive applications for any screen and device using the latest web technologies - HTML5, SVG, Canvas, ES2015, CSS3 - the latest libraries - React, AngularJS, D3.js, CreateJS - and many other tools - Gulp, WebPack, LESS/SASS but also Sketch, Balsamiq, PS and AI.