The definition of a histogram is a graph in which the x-axis is a quantitative variable split into bins, and the y-axis is the frequency. However, if we want to graph some other property of the bins (not the frequency), is the resulting graph still a histogram? Or is it considered a bar graph?
For example, say the x-axis is the age of the residents of a city, split into bins of size 10 years. We graph the total income of the residents in each bin. (The y-axis is income.) Is the resulting graph a histogram or a bar graph or something else? (I read that the bar graph is supposed to have categorical, not quantitative, variables on the x-axis.)