Fork of Vanilla D3 Vibecoding Template
This interactive donut chart visualizes the Buddhist concept of the Five Aggregates (Skandhas), explaining how form, feeling, perception, mental formations, and consciousness together constitute a living being. Each of the five colored segments represents one aggregate, with hover interactions revealing detailed descriptions and examples sourced directly from the static configuration. The center displays “Not Self” to emphasize the Buddhist teaching of impermanence. Built with D3.js, the visualization uses `d3.pie`, `d3.arc`, and custom text-wrapping logic to dynamically size and position labels, making the philosophical content accessible through direct engagement.
AI-generated descriptionThe Five Aggregates (Skandhas) Visualization
This visualization illustrates the Buddhist concept of the Five Aggregates (Pañcakkhandha), which describe what constitutes a living being according to Buddhist philosophy.
The Five Aggregates:
- Form (Rūpa): The physical body and material world
- Feeling (Vedanā): Sensations from contact between senses and world
- Perception (Saṃjñā): Recognition and labeling of experiences
- Mental Formations (Saṅkhāra): Thoughts, emotions, desires, and habits
- Consciousness (Vijñāna): Basic awareness of experiences
Interaction:
- Hover over each segment to see detailed descriptions and examples
- The visualization illustrates how these five aspects together constitute what we perceive as "self"
- The center "Not Self" (Anatta) represents the core Buddhist teaching that there is no permanent self or soul
Buddhist Context:
In Buddhism, understanding these aggregates helps one recognize that what we consider "self" is actually a collection of impermanent, constantly changing processes. This insight is crucial for the path to enlightenment.