JS canvas, How to make a Line Chart with arrays?

I need a LineChart with arrays, but don’t know how to make it.

On internet, they only show how to make with lineTo().

Also I need to make Line Chart from scratch. Chart.JS I can’t use for this project.

I’m not exactly sure what you mean by this but I just did a google search for “javascript line chart canvas” and found a page that looks like something you might be interested in.

I suggest you do your own searching as you have a better idea of what you are looking for than we do.


This were a interesting site you found.
Something I were looking for thanks.

1 Like