Try passing your CSV contents to the CSVToArray function posted here: 
http://stackoverflow.com/questions/1293147/javascript-code-to-parse-csv-data

You can then pass the output from that to the visualization's 
arrayToDataTable constructor.  Something like this:

var dataArray = CSVToArray(csv);
var data = new google.visualization.arrayToDataTable(dataArray);

On Wednesday, April 11, 2012 1:47:57 AM UTC-4, Eddiie wrote:
>
> I've spent the last 3 hours going in circles trying to understand how 
> to take a CSV file on my webserver full of data and pass that to 
> Google Graphs. 
> Found lots of documentation to have Google make my data into a CSV but 
> not populate the DataTable for the graphs. 
>
> Ultimately what I'd like to do is feed this CSV file in and get a PNG, 
> GIF, JPG, whatever back.   If I can't do that, I'll be happy with a 
> graph and take it from there. 
>
> I am not a programmer.  I can barely make a web page.  I have followed 
> examples and can make graphs by building an array manually, but I need 
> this to work from feeding the Google Graph a CSV file, about 10000 
> lines. 
> ? 
>
> Many thanks! 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/jGZ0F9TSK3wJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to