The Five Aggregates
✓ Published0🌍 Public
This interactive visualization presents the Five Aggregates of Buddhist philosophy as five color-coded circles arranged around a central label. Hovering over each circle enlarges it and displays a tooltip explaining the corresponding aggregate. The visualization uses D3.js v7 with SVG rendering and includes responsive sizing through viewBox attributes. Interactivity is implemented through D3 event handlers with transitions for the hover animation, while the tooltip is positioned using mouse event coordinates.
AI-generated descriptionFive Aggregates Visualization
An interactive visualization of the Five Aggregates (Skandhas) from Buddhist philosophy.
Features
- Interactive circular visualization of the Five Aggregates
- Hover effects with detailed descriptions
- Responsive design that adapts to different screen sizes
- Color-coded aggregates for easy identification
Aggregates Included
- Form (Rūpa): Physical matter and the body
- Sensation (Vedanā): Feeling tones from sensory contact
- Perception (Saññā): Recognition and labeling of sensory information
- Mental Formations (Saṅkhāra): Volition, habits, and mental constructs
- Consciousness (Viññāṇa): Awareness through the six senses
Technologies Used
- HTML5
- CSS3 with responsive design
- JavaScript (ES6)
- D3.js for data visualization
How to Use
- Open
index.htmlin a web browser - Hover over any of the five colored circles to see details about that aggregate
- The visualization will adapt to different screen sizes
File Structure
index.html: Main HTML structurestyles.css: Styling for the visualizationindex.js: JavaScript logic with D3.js visualizationREADME.md: This file
MIT Licensed