-2

I want to create a html based chart like below , not sure how to proceed

enter image description here

Somayeh Ghazvinian
  • 142
  • 1
  • 3
  • 17

1 Answers1

0

I think what you want is border-radius ie

.inner {
  background: #FFB6C1;
  width: 40px;
  height:20px;
  border-radius: 20px;
}

.outter {
  width:100px;
  border: 1px solid #ccc;
  border-radius: 20px;
}
<div class="outter">
  <div class="inner"></div>
</div>