title: Correct approach to get csv data through jquery
body: <p>Well this question is all about to get the correct approach, to get the task done.</p>
  
  <p>I have a CSV file with first row as header and which has several columns as </p>
  
  <pre><code>| price |  quantity | sold type | adn so on .... 
  </code></pre>
  
  <p>and rest row containing values under above headers.</p>
  
  <p>I need to  <em>type</em>  in multiselect which i have successfully achieved and  <em>item price</em>  and <em>item sold</em> value in range slider, that also i have achieved which is shown in the image. Depending on their values i need to display data in the graph.</p>
  
  <p>I have taken out all CSV data and convert it into array with the help of <em>jquery csv plugin</em>, which gives me array for each row.</p>
  
  <p>I just want to know the correct approach to do this task ?</p>
  
  <p><a href="https://i.stack.imgur.com/j5rGd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j5rGd.png" alt="enter image description here"></a></p>
  
  <p>I have got all option in multiselect, set the min max value in sliders, now what i have to do is, based on multiselect and slider values the data in the graph keep on changing whenever multiselect or slider value change based on its availability in the CSV table which i already have in multi dimension array.</p>