This interactive visualization presents Buddha's teachings in a radial tree layout using D3.js. The hierarchical structure allows exploration of key Buddhist concepts starting from the central node and branching outward to show relationships between different teachings.
The visualization is built using:
index.html
: Main HTML entry pointmain.js
: Application initialization and window resize handlingvisualization.js
: Core visualization rendering logicdataLoader.js
: Fetches and processes the hierarchical datazoom.js
: Implements pan and zoom functionalityutils.js
: Helper functions for calculating positions and stylingstyles.css
: Visual styling of the tree nodes and linksdata.json
: Hierarchical data of Buddha's teachingsOpen index.html
in a modern web browser. Navigate the visualization using:
The visualization represents Buddha's teachings starting with core concepts like the Four Noble Truths and branching out to more detailed teachings. Each node represents a specific teaching, with the hierarchical layout illustrating how concepts relate to one another.
The visualization uses a warm color palette inspired by traditional Buddhist art: