Advertisement
Guest User

SVG responsive chart

a guest
Mar 23rd, 2020
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.49 KB | None | 0 0
  1. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1160 1300" preserveAspectRatio="none">
  2.     <defs>
  3.         <style>
  4.             .c,.d{fill:none}.d{stroke:#f3f}.c,.d{stroke-linecap:round}.c{stroke:#000;stroke-width:16px}.d{stroke-width:12px}
  5.             path, line {vector-effect: non-scaling-stroke}
  6.         </style>
  7.     </defs>
  8.     <g transform="translate(-309 -243)">
  9.         <rect width="1160" height="1300" transform="translate(309 243)" style="fill:none"/>
  10.         <path d="M1392,1595l-112,218,153,213,256,218,96,220-120,217" transform="translate(-498 -1253)" style="stroke-miterlimit:10;stroke-width:2px;stroke:#f3f;fill:none"/>
  11.         <g transform="translate(892.5 342.5)">
  12.             <line class="c" y2="0.1"/>
  13.             <line class="d" y2="0.1"/>
  14.         </g>
  15.         <g transform="translate(784.5 559.5)">
  16.             <line class="c" y2="0.1"/>
  17.             <line class="d" y2="0.1"/>
  18.         </g>
  19.         <g transform="translate(937.5 774.5)">
  20.             <line class="c" y2="0.1"/>
  21.             <line class="d" y2="0.1"/>
  22.         </g>
  23.         <g transform="translate(1190.5 992.5)">
  24.             <line class="c" y2="0.1"/>
  25.             <line class="d" y2="0.1"/>
  26.         </g>
  27.         <g transform="translate(1281.5 1208.5)">
  28.             <line class="c" y2="0.1"/>
  29.             <line class="d" y2="0.1"/>
  30.         </g>
  31.         <g transform="translate(1170.5 1425.5)">
  32.             <line class="c" y2="0.1"/>
  33.             <line class="d" y2="0.1"/>
  34.         </g>
  35.     </g>
  36. </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement