How to know how many entries are there are in a column with a range

i am having a sheet which is having a column of integer data size 500 now i have to draw a frequency graph making a range like entries between 250-260 should count in a single group.Is there any way to do it in libreoffice

Do you mean something like this?
Chart by rngs

Formulas in this simple demo was:

=RANDBETWEEN(100;270)
=COUNTIF(Src;D2)
=SUMPRODUCT(Src>D2;Src<=D3)