def _create_numeric_visualization(job, args):
        """
        Args:
            job: fedlearner_webconsole.job.models.Job. Current job to plot.
            args: dict. reqparse args, must contain 'aggregator', 'value_field'
                and 'metric_name' entries, and the values must not be None.

        Returns:
            dict. A Kibana vis state dict

        This method will create 1 time series. The series will filter data
            further by `name: args['metric_name']`. Aggregation will be
            applied on data's `args['value_field']` field. Aggregation types
            in `AGG_TYPE_MAP.keys()` are supported.
        """
        for k in ('aggregator', 'value_field'):
            if k not in args or args[k] is None:
                raise ValueError(
                    '[{}] should be provided in Numeric visualization.'
                        .format(k)
                )
        assert args['aggregator'] in Kibana.TSVB_AGG_TYPE
        vis_state = Kibana._basic_tsvb_vis_state(job, args)
        params = vis_state['params']
        series = Kibana._tsvb_series(
            label='{} of {}'.format(args['aggregator'],
                                    args['value_field']),
            metrics={'type': Kibana.TSVB_AGG_TYPE[args['aggregator']],
                     'field': args['value_field']},
            line_width=2,
            fill='0.5'
        )
        series['color'] = Kibana.COLORS[-2]
        params['series'] = [series]
        return vis_state

        Args:
            job: fedlearner_webconsole.job.models.Job. Current job to plot.
            args: dict. reqparse args, must contain 'aggregator', 'value_field'
                and 'metric_name' entries, and the values must not be None.

        Returns:
            dict. A Kibana vis state dict

        This method will create 1 time series. The series will filter data
            further by `name: args['metric_name']`. Aggregation will be
            applied on data's `args['value_field']` field. Aggregation types
            in `AGG_TYPE_MAP.keys()` are supported.
        
web_console_v2/api/fedlearner_webconsole/utils/kibana.py