Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Assuming you are starting with just an array of values, and you want to plot a histogram of the frequency of those values, you are just a one-liner away -- using js's reduce() -- from having the data in a format for a bar graph.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: