histogram: fetches data from stdin and scatter it