How to draw polyline (connected lines with points) with SVG two-dimensional vector graphics in HTML

2 Answers

0 votes
<svg width="600" height="600">    
   <polyline points="10,20 30,60 120,40 160,60" style="stroke:rgb(255,0,0);stroke-width:2"/>
</svg> 

 



answered Oct 11, 2019 by avibootz
0 votes
<svg width="600" height="600">    
   <polyline points="20,20 50,20 80,40 100,140 160,200 260,200" 
             style="stroke:rgb(255,0,0);stroke-width:2"/>
</svg> 

 



answered Oct 11, 2019 by avibootz
...