I'm trying to draw a curved graph as in Image 1 using the below function. But I got Image 2. How I can able to get exactly like Image 1 curve? :|
Sorry, I'm not good at Maths, so I just added my function below instead of the maths part. I just need the Maths part only, I'll convert it to the code :)
generateDummyData() {
// x y
rows = [[0, 0]];
for (let i = 0; i < 8E3; i++) {
rows.push([i, Math.floor(Math.log(i) * 32000)]);
}
}
Image 1 (What I expect)
Image 2 (What I got)

Thanks,