Refactored chart_histogram_choices into chart_histogram