JSFiddle - React, Tailwind, and code Playground

by Mi_Creativity

HTML

<svg width="400" height="400">
    <g class="point" transform="translate(225,217)">
      <circle></circle>
      <text class="pointIndex" y="5">
        <tspan text-anchor="middle">10</tspan>
      </text>
    </g>
  </svg>

CSS

.point circle {
  cursor: pointer;
  text-align: center;
  fill: #E2137E;
  r: 10;
  stroke: #333;
  stroke-width: 2px;
}