Skip to content

Instantly share code, notes, and snippets.

@Joshfindit
Forked from fabiovalse/README.md
Created November 30, 2016 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Joshfindit/66ab1b18a99a91654abc805d01fb4977 to your computer and use it in GitHub Desktop.
Save Joshfindit/66ab1b18a99a91654abc805d01fb4977 to your computer and use it in GitHub Desktop.
External SVG import & zoom

This example shows how to import an external SVG file into a web page. Furthermore, the D3 zoom bahaviour can be used for zoom in/out the image.

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment