Hey all,
What i’d like to do is have input fields where a user can type some numbers, and then map those numbers to points on a graph.
I ran across chartjs and started experimenting with it, but i’m not sure how to get the values from my inputs into the data points on the chart; if i put some default values in, that works, but i’m looking to either get the input to map to a data point after it’s been typed, or have a ‘Graph me’ button that takes all the inputs and re-renders the chart.
Is there any avenues you guys might recommend to map inputs to data points on a graph?
Below is my codepen;
Thank you!