Google Charts Histogram with frequency data

74 views
Skip to first unread message

Ronda Mills

unread,
Jun 23, 2016, 3:32:23 PM6/23/16
to Google Visualization API
I want to construct a histogram in google charts, but my data is not in the usual form...instead of having raw data such as,

  ['Name', 'Number'],
    ['Name 1', number1],
    ['Name 2', number2],
    ['Name 3', number3],

my data is already tabulated. So, for example, for a histogram of real estate values in a city, I have all of the various values and their frequencies, NOT the value of house 1, the value of house 2, etc. 

I haven't found anything about how to code that. Is it possible to use the data in that format?


Daniel LaLiberte

unread,
Jun 24, 2016, 1:06:51 AM6/24/16
to Google Visualization API
Sounds like you just want a ColumnChart then.  In fact, the Histogram chart just uses a variation of the ColumnChart internally.

--
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 post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/2dafe3ce-36be-407e-89d8-3c954e159efc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages