Bitcoin on-chain transactions are not anonymous. Anyone can use a block explorer to view address balance and incoming/outgoing payments. There is no such things as a block explorer for the Lightning Network since there are no blocks. Nodes which take part in the payment routing are the only ones who know about the ongoing transaction.
but there are things such as lightning explorers
they reveal many things, balances per channel, who the nodes connect to. they actually reveal alot more then the bitcoin block explorer does about individuals
its quite funny how much stats you can get out of lightning about a particular node. but you cant get node information out of a block explorer.
using the node information you can see what node just signed some funds and which other node it got attributed to
so have fun looking at lightning network stats/visualisations.