It's one of the areas that homoiconicity helps: code is data, data is code, so visualization tools can work on both sides.