<?xml version="1.0" encoding="windows-1252"?>
<node id="862355" title="Re: Plotting a Hash Key-value pair" created="2010-09-28 01:13:34" updated="2010-09-28 01:13:34">
<type id="11">
note</type>
<author id="524457">
martin</author>
<data>
<field name="doctext">
Are you sure you want to get a histogram with &gt;60000 bars? Even with one-pixel wide bars this would fill a very big space. You might be able to do that with [href://http://www.gnuplot.info/|Gnuplot]. CPAN has an interface to it: [cpan://Chart::Gnuplot]. See also [isbn://0380756668].
&lt;p&gt;
If what you really want to get is a histogram with a much smaller number of bars, you'd have to insert some sort of aggregation.
You could add the values of 1000 adjacent keys (numerically sorted) into a new bucket each, say, and plot the accumulated values.</field>
<field name="root_node">
862314</field>
<field name="parent_node">
862314</field>
</data>
</node>
