block by micahstubbs fdb0bd65bbfcc57b60bd9d80debb4233

External SVG + D3 II

Full Screen

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.

index.html