user2095356
user2095356

Reputation: 55

Bouncing effect in d3

Does anybody know if it's possible to create a bouncing effect on an SVG element (circle) in D3 using for example transitions?

Thanks!

Upvotes: 3

Views: 4029

Answers (1)

tomtomtom
tomtomtom

Reputation: 1522

using the .ease("bounce") or .ease("elastic") after .transition() you can achieve that effect. note that bounce and elastic are similar but not the same. in this (imo) really good guide you can find some good examples for d3, i used them myself to learn it http://shop.oreilly.com/product/0636920026938.do

Upvotes: 7

Related Questions