How to create a Histogram with data

Hi @StudentEt

I think there’s some terminology being mixed up. These are not histograms, they are bar charts, so you’d use one of the bar chart nodes (I’d use the GroupBy Bar Chart node) to plot the data.

However, you need to do some preprocessing so that the data is in a format that the GroupBy Bar Chart node can work with.

This includes pivoting the data, replacing month numbers with names, and potentially filtering out the years you don’t want.

See this example for the Temperature data:

You can play around with it to see how it works, and do the same for your other data set.

If you want tips on formatting bar charts, then there are some examples on the KNIME Hub here:

3 Likes