Skip to content

Latest commit

Β 

History

History
145 lines (99 loc) Β· 3.59 KB

File metadata and controls

145 lines (99 loc) Β· 3.59 KB


🌲 Binary Tree Visualizer 🌿

πŸŽ“ Learn β€’ Visualize β€’ Master Data Structures

πŸš€ An immersive way to explore and understand Binary Trees, BST, AVL, Red-Black Trees, Heaps, and Tries through interactive animations.


πŸŒ‘ Overview

Binary Tree Visualizer is an interactive learning platform built with React + Vite.
It helps students and developers visualize tree-based data structures dynamically β€” making complex DSA topics easy to grasp.

🧠 It blends learning with visual engagement using 3D particles, smooth transitions, and Lottie animations.


🌿 Supported Visualizations

Tree Type Description
🌳 Binary Tree Basic parent-child relationships
🌿 Binary Search Tree (BST) Ordered hierarchical tree
🌲 AVL Tree Self-balancing BST
πŸ”΄ Red-Black Tree Balanced search tree with color properties
🧱 Heap Min/Max heap operations
🌐 Trie String-based data structure

βš™οΈ Tech Stack

Layer Tools
πŸ’» Frontend React + Vite
🎨 Styling CSS + Framer Motion + Custom Animations
🧩 Visualization Lottie JSON + Particle.js
πŸ“¦ Package Manager npm
πŸ”§ Config vite.config.js

πŸ—‚οΈ Folder Structure

BinaryTree_Visualizer/
β”œβ”€β”€ public/
β”‚   └── animations/        # Lottie animations (BST, AVL, Heap, etc.)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/        # Core visual and logic components
β”‚   β”œβ”€β”€ data/              # Quiz and algorithm data
β”‚   β”œβ”€β”€ assets/            # Icons, SVGs
β”‚   β”œβ”€β”€ styles.css         # Global styles
β”‚   └── App.jsx            # Root component
β”œβ”€β”€ index.html
β”œβ”€β”€ vite.config.js
β”œβ”€β”€ package.json
└── README.md

πŸš€ Getting Started

1️⃣ Clone the Repository

git clone https://github.com/Orb-20/BinaryTree_Visualizer.git

2️⃣ Install Dependencies

npm install

3️⃣ Run Development Server

npm run dev

4️⃣ Open in Browser

🌐 Usually at β†’ http://localhost:5173


✨ Features

  • πŸŽ₯ Real-time Tree Animations
  • 🌳 Visual operations: Insert, Delete, Traverse
  • 🧩 Quiz Section for Learning Reinforcement
  • πŸ’‘ Modern UI with smooth transitions
  • πŸ“š Extendable codebase (add your own data structures easily!)

🌱 Future Improvements

  • πŸ“ˆ Add Segment Tree and Fenwick Tree
  • 🧠 AI-powered learning hints
  • 🎨 Light/Dark Theme Toggle
  • πŸ“± Responsive mobile support

πŸ’» Developer

πŸ§‘β€πŸ’» Orb-20

Built with passion for open-source & computer science learning ❀️