This example is from my blog on how to Create a Gooey effect during a transition and shows how you can also use rectangles with the Gooey effect
The other two examples
You can find even more gooey examples in my follow-up blog More fun data visualizations with the gooey effect
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js to a secure url
https://d3js.org/d3.v3.min.js
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js