Ask coding questions

← Back to all posts
How do I make a graph?
ManavGulia

Hey. I want to make a little type of game, in which I need a graph. I want to make this game so it help people practice y=mx + b, where the code plots random plots on the graph, and the person needs to find the rule of the plots. I also want the code to calculate the slope rule as it plots the points onto the graph (with four quadrants). The random numbers can be anything from -10 to 10. If anybody can help me, I would be very grateful, because I am new to coding in Node.Js, and would like some help. Thank You.

Voters
CORINTHIANVANHU
ManavGulia
Comments
hotnewtop
raymondpittman

You can use https://plot.ly/nodejs/getting-started/ to plot graphs.

ManavGulia

@raymondpittman Thank You!