I have a SVG file with 5 paths, each one has a different id assigned. The paths are exported from Illustrator.
<svg ...>
<path id="state1" fill="#DDD" d="M274.727,341.564c-45.393,11.342-52....." />
<path id="state2" fill="#DDD" d="....." />
How do I animate between the 5 id states in D3? In Snap.svg this can be easily done with
stage1.animate({"path" : (stage2.attr("path"))}, 1000);
Thanks!