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="60" viewBox="0 0 100 60"> 4<defs> 5</defs> 6<path d="M10,10 L80,10" stroke="red" stroke-width="5" /> 7<path d="M10,20 L80,20" stroke="#9f9" stroke-width="5" /> 8<path d="M10,30 L80,30" stroke="#9999ff" stroke-width="5" /> 9<path d="M10,40 L80,40" stroke="rgb(255,128,64)" stroke-width="5" /> 10<path d="M10,50 L80,50" stroke="rgb(60%,20%,60%)" stroke-width="5" /> 11</svg>