Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets
1<?xml version="1.0" encoding="UTF-8"?> 2<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 3 width="100" height="100" viewBox="0 0 100 100"> 4<defs> 5</defs> 6<path d="M0,100 L0,0 L100,0" fill="none" stroke="green" stroke-width="2" /> 7<path d="M40,40 L100,40 L70,70 L40,70" fill="silver" stroke="black" stroke-width="2" /> 8<text x="5" y="95" font-size="12">downward y</text> 9</svg>