I'm working on SVG here I divided the svg circle into six equal triangles but the space between 6,1 triangles is not coming properly I tried to change path d
value changing but still not accurate can anyone suggest me another way to fix this issue.
.fg{
fill: #4472c4;
stroke: #FFFFFF;
stroke-width: 5;
transition: fill 0.3s ;
}
<div class="circle">
<svg width="800" height="800" class="tp-cir" viewBox="-2 -2 202 203" shape-rendering="geometricPrecision">
<a xlink:href="#"><path class="fg tpc" d="M100,100 v-100 a100,100 1 0,1 84.6025,50" />
<text x="135" y="35" text-anchor="middle">1
</a>
<a xlink:href="#"><path class="fg tpc" d="M100,100 l86,-50 a100,100 1 0,1 0,100" />
<text x="170" y="98" text-anchor="middle">2
</text>
</a>
<a xlink:href="#"><path class="fg tpc" d="M100,100 l86,50 a100,100 1 0,1 -86,50" />
<text x="135" y="160" text-anchor="middle">3
</text>
</a>
<a xlink:href="#"><path class="fg tpc" d="M100,100 v100 a100,100 1 0,1 -86,-50" />
<text x="60" y="155" text-anchor="middle">4
</text>
</a>
<a xlink:href="#"><path class="fg tpc" d="M100,100 l-86,50 a100,100 1 0,1 0,-100" />
<text x="27.5" y="100" text-anchor="middle">5
</text>
</a>
<a xlink:href="#"><path class="fg tpc" d="M100,100 l -87,-50 a100,100 1 0,1 84, -50" />
<text x="60" y="35" text-anchor="middle">6
</text>
</a>
</svg>
</div>