The CSV data is hidden in the page using a hidden DIV. It's then retrieved using document.getElementById() and split up using the Javascript .split() function. The resulting array is an array of STRINGS so it's converted to numbers using the Number() function.
Note: In October 2013 a new CSV reader was added to RGraph. It makes reading CSV files much easier. You can read about the new CSV reader here.