Histogram ChartRelative Frequency

VIEW MORE HISTOGRAM CHARTS
VIEW HTML
EDIT ON CODEPEN
A histogram chart is a chart that groups numeric data into bins, displaying the bins as segmented columns. To create a histogram chart, the <Histogram2DChart> and <Histogram2DSeries> elements must be set in Layout, and the binRange attribute on the <Histogram2DChart> element must be set.

In this example, one <Histogram2DSeries> element and one <Line2DSeries> element are set within a <Histogram2DChart> element.
<Histogram2DChart showDataTips="true" binRange="[270,280,290,300,310,320,330,340,350,360,370]">
<series>
<Histogram2DSeries yField="grade" displayName="Number of Persons" ... >
...
</Histogram2DSeries>
<Line2DSeries yField="relativeFrequency">
...
</Line2DSeries>
</series>
</Histogram2DChart>