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="200" height="200" viewBox="0 0 200 200"> 4<defs> 5</defs> 6<rect x="0" y="0" width="40" height="40" /> 7<rect x="0" y="0" width="40" height="40" fill="red" transform="translate(50,50)" /> 8</svg>