Gems for geenrate graphs

hi,
i have an array of data and i would make a graph to illustrate them.
the array is a collection of number of users who have a number of
freinds between eg: 1-10 then 10 - 20 … User.last.id


nbr of freinds | nbr users |

 1-10         |       2           |

 11-20       |       5           |

  21-50      |       10         |

  51-70      |       26         |


its possible to make something like:

51-70| *
|
21-50| *
|
11-20| *
|
01-10| *
|__________________________________
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 …

but the * are related.
thanks

On Fri, Jun 10, 2011 at 1:05 AM, Adel M.
[email protected]wrote:

11-20       |       5           |

51-70| *
thanks

use google graphs and the seer gem.

[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

On 9 June 2011 18:05, Adel M. [email protected] wrote:

hi,
i have an array of data and i would make a graph to illustrate them.

Open Flash Charts used to be a very good choice. Worth having a look
to see if it does what you need.

On 10 June 2011 06:47, Michael P. [email protected] wrote:

On 9 June 2011 18:05, Adel M. [email protected] wrote:

hi,
i have an array of data and i would make a graph to illustrate them.

Open Flash Charts used to be a very good choice. Worth having a look
to see if it does what you need.

I prefer flot which uses javascript rather than flash and works well
for me. Much quicker loading charts with lots of data.

Colin

thanks, i will try to use them :slight_smile: i think flot is the better :wink:

2011/6/10 Colin L. [email protected]


Mediouni Adel
Tunis