function AgeDistributionGraph(props) {
  return (
    <HorizontalBarGraph
      id="myAgeDistributionGraph"
      labels={props.labels}
      data={
        [{
          data: props.ageDistribute,
        }]
      }
      title={props.title}
    />
  );
}
/**
 * Build a graph based on arrays of age ranges and the sum of each age range
 * @param props
 * @returns {*}
 * @constructor
 */
Build a graph based on arrays of age ranges and the sum of each age range
@param props
@returns {*}
@constructor
Build a graph based on arrays of age ranges and the sum of each age range @param props @returns { * } @constructor
function AgeDistributionGraph(props) {
  return (
    <HorizontalBarGraph
      id="myAgeDistributionGraph"
      labels={props.labels}
      data={
        [{
          data: props.ageDistribute,
        }]
      }
      title={props.title}
    />
  );
}
function AgeDistributionGraph ( props ) { return ( < HorizontalBarGraph id = "myAgeDistributionGraph" labels = { props . labels } data = { [ { data : props . ageDistribute , } ] } title = { props . title } / > ) ; }
Build a graph based on arrays of age ranges and the sum of each age range
 @param props
 @returns {*}
 @constructor
Build a graph based on arrays of age ranges and the sum of each age range @param props @returns { * } @constructor