JSFiddle - React, Tailwind, and code Playground

HTML

<div id="meh"></div>

CSS

#meh {
  margin: 25px;
}

JavaScript

function log10(val) {
  return Math.log(val) / Math.LN10;
}

var paper = Raphael('meh', 1000,1000);

for (var i = 1; i <= 100; i++) {
	var log = log10(i) * 125;
	var yPos = 260 - log;
	var r = paper.rect(0,yPos,5,1,1);
    if (i==1 || i==10 || i==100) {
      paper.text(15,yPos,i);
    }
  r.attr({opacity: 0.6, 'stroke-width': 0, fill: '#000000'});
    console.log(yPos);
};