Produce a function that receives the die value and the total number of rolls and prints a single line of the histogram based on the values passed. : "You will need to call the function once per possible die value."

I'm a programming noob and have spent about seven hours trying to figure this out.  My code is just a conglomeration of ideas and hopes that I'm headed in the right direction.  I desperately need help and want to understand this stuff.  I've scoured the message boards for my specific issue in vain.  Please assist...
I realize my code is spitting out the result for every possible roll. When I need a program that I.E. when someone chooses to roll 50 times and designates 2 as the die value they desire to single out.  The histogram would display how many times 2 was randomly rolled out of 50 rolls as asterisks on a single line of histogram. 

My code thus far:

import random


def dice_sum(rolls):
    results = 0
    dice_sum = 0    
    for i in range(0, rolls):
        results = random.randint(1, 6)
        print("Die %d rolled %d." % (i+1, results))
        dice_sum += results
    print("Total of %d dice rolls is: %d" % (rolls, dice_sum))
    return dice_sum

def hist_gram():
    hist_gram='*'
    dievalue= int(input('Which specific value between 1 and 6 are you requesting? [enter a #]'))
    

# get user input 
rolls = int(input('How many times would you like to roll the 6 sided die? [enter a #]'))
dievalue= int(input('Which specific value between 1 and 6 are you requesting? [enter a #]'))

# pass input values to function and print result
result = dice_sum(rolls=rolls)
print(result)
