Histogram: defining my data?

35 views
Skip to first unread message

Yves De Jesus

unread,
Nov 17, 2019, 12:10:26 AM11/17/19
to Google Visualization API
I want to create a histogram based on this tutorial by Google.


I think the dinosaur data is sourcing it from elsewhere. I would like to use my own data set.

Advice?

Ray Thomas

unread,
Nov 17, 2019, 7:53:47 PM11/17/19
to Google Visualization API
You can easily check most of the examples as they're usually in their own frames. Right click somewhere just outside of the graph and choose to view the frame source, copy it to Notepad or other plain text editor, remove the information in the <head> section, and save it to a new html file.

You can then change the data in the file and add whatever else you need on the page.

Ray

Yves De Jesus

unread,
Nov 17, 2019, 7:55:58 PM11/17/19
to google-visua...@googlegroups.com
There appears to be a limit count of 50 entries. Beyond that, my screen goes white.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/c6165a9f-031b-46fb-ba48-6667c4e541a3%40googlegroups.com.


--
Yves

Ray Thomas

unread,
Nov 17, 2019, 8:50:02 PM11/17/19
to Google Visualization API
Hi Yves,

I think I know what's wrong. In the data you sent me, in the line ['Akerman Hall' 106.7], there's a comma missing, change it to ['Akerman Hall', 106.7], and it should all work.

Ray

Yves De Jesus

unread,
Nov 17, 2019, 9:28:40 PM11/17/19
to google-visua...@googlegroups.com
HOLY SHIT, YOU'RE RIGHT!!! OMFG THANK YOU SO MUCH x10,000!!!

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.


--
Yves
Reply all
Reply to author
Forward
0 new messages