All examples By author By category About

micahstubbs

External SVG + D3 II

this example uses d3 to manipulate paths inside of an svg loaded from an external file.

the image is the famous Ghostscript Tiger.svg

hat tip to @ocampesato for introducing me to the SVG Tiger

this exmaple is based on earlier research for the bl.ock Sporthorse Foal Registrations II. I've found this technique useful again recently, and thought it deserved a few examples of its own.