The code included in the script section below is all you will need to embed a graphic. Copy the code and paste it into your page.
The embed code consists of three lines of code.
1. Link to a hosted script file. The code in this file will generate a frame on your page for the interactive. If you do not want to link to our servers for this script file, you can download pym.js and upload the file to your own server, and link to that.
2. An html element (div) with a unique ID. This ID will be pasted into the script tag in step three. You are free to change the ID of this div. However, you must then change the id as referenced in the third line of code. The graphic is built to take up the entire width of whatever html element it is put into. So if you would like it to be smaller or larger, simply size the element that will contain it.
3. A script tag to create the responsive iframe for the graphic. This tag requires two pieces of specific text. The name of the div created above, and the link to the hosted graphic. If you do not wish to use the hosted graphic, and would rather host it yourself, place the included production version of the graphic on your own server, and change this link to point to that version.