I made another totally different kind of "tree view" in CSS a while back, in this case to see some kind of JSON-html tree into a tree:
https://francisco.io/demo/tree/
It was a fork of a much earlier project but I improved it a lot IIRC; unfortunately I lost the original source and now chances of finding it are very small (unless someone here knows it!)