====== SVG manipulation ====== * http://tutorials.jenkov.com/svg/scripting.html * http://tumba.solutions/blog/svg ===== Scaling svg to fit container ===== * svg tutorial: * https://sarasoueidan.com/blog/svg-coordinate-systems/ * https://css-tricks.com/scale-svg/#article-header-id-14 {{statistics.statisticNumHosts}} 160
-------> container size 161 min-x min-y width height. fit svg in container with width/height ratio. 164 preserveAspectRatio='xMaxYMax slice' ------> bottom right svg fit bottom right container 165 style="width: 100%; height: 100%; padding-bottom: 0%, overflow: none" ----> 100%, hide / show (visible) overflow. 166 xml:space="preserve">