Different teachings together connected
This interactive visualization of Buddha’s teachings offers three linked views: concentric onion layers, a force-directed relationship network, and a sunburst component breakdown. Users explore concepts like the Four Noble Truths and the Noble Eightfold Path through tabs and clickable elements. The code uses D3 v7 APIs including `d3.forceSimulation` for the network, `d3.hierarchy` and `d3.partition` for the sunburst, and SVG with CSS transitions for animated tab switching and hover effects. Data is embedded directly in the script.
AI-generated descriptionBuddha's Teachings Interactive Visualizations
This project showcases the teachings of Buddha through interactive visualizations. By representing Buddhist concepts and their relationships visually, it provides an accessible entry point for those interested in learning about Buddhism.
Visualizations
1. Onion Layers
The core visualization represents Buddha's teachings as concentric circles, with each layer building upon the foundation of previous ones. From the central Four Noble Truths to the outer concept of Dependent Origination, this visualization demonstrates the layered nature of Buddhist philosophy.
2. Relationship Network
This network diagram shows how different teachings relate to one another. By visualizing these connections, users can better understand how concepts like the Four Noble Truths connect to the Noble Eightfold Path and other teachings. The force-directed graph allows for interactive exploration of the interconnected nature of Buddhist concepts.
3. Component Breakdown
This sunburst visualization breaks down each teaching into its constituent parts, allowing for a deeper exploration of specific concepts like the Noble Eightfold Path's division into Wisdom, Ethical Conduct, and Mental Discipline.
Usage
Click on different elements in each visualization to explore the teachings in depth. Use the tabs at the top to switch between different visualization types.
Technologies Used
- HTML, CSS, JavaScript
- D3.js for interactive data visualizations
Future Enhancements
Potential future additions include:
- A timeline of Buddha's life and when different teachings were introduced
- Interactive meditations based on selected teachings
- Comparative visualizations of Buddhist concepts across different traditions
- Guided pathways showing progression through the teachings