4 ms·
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 -- usin
by jonahx 11y ago
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.