โจ Interactive web application to visualize and understand NumPy array manipulations using D3.js.
- ๐จ Visual representation of 1D, 2D, 3D, 4D, 5D, and 6D arrays
- โก Quick action buttons for common operations:
- ๐ Reshape, Transpose, Flatten
- ๐ Expand/Squeeze dimensions
- ๐ Swap axes, Slice arrays
- ๐ Aggregate operations (sum, mean)
- ๐ Before/After visualization to understand transformations
- ๐ Color-coded cells using D3.js color scales
- โฑ๏ธ Real-time feedback on array shape and operations
- ๐ฎ Interactive dimension selectors for 5D and 6D arrays
- ๐ฆ Install Python dependencies:
uv sync- ๐ฅ๏ธ Start the Flask backend:
python server.py- ๐ Open
index.htmlin a web browser (or use a local server)
- ๐ฒ Generate Arrays: Enter a shape (e.g., "3,4" or "2,3,4,5") and choose a fill method
- ๐ฏ Quick Actions: Click any button to see the transformation
- ๐๏ธ View Results: See input and output side-by-side with operation details
- ๐ฑ๏ธ Interactive Controls: Use dimension selectors for 5D/6D arrays to explore different slices
- โ 1D-5D: Full visualization with interactive controls
โ ๏ธ 6D: Informational view with recommendations to reduce dimensions
