Plot histogram for discrete data

Viewed 29606

I'm struggling a lot to plot histogram using R for the following data:

ip_addr_player_id,event_name,level,time_to_finish,

118.93.180.241, Puzzle Complete, Puzzle 1,33.28 seconds

This is a single row of data. I need to pot histogram of the number player vs the number of levels played. I was able to successfully plot scatter plot, points, lines etc. but no histogram.

on Xaxis: number of levels. 
Yaxis: Number of player. 

enter image description here

Each ip address is unique and multiple levels can be played by single ip address. I have attached a sample picture.

3 Answers
Related