C3: Computational Graph Visualizer
Build expressions and watch Autodiff traverse the graph step-by-step.
Expression
Build Graph
x² + y
xy + sin
Sum²
Input Values
Forward Pass
▶ Run Forward
Step →
Auto ▶
Backward Pass
◀ Run Backward
← Step
◀ Auto
Reset
Progress:
0 / 0
Ready. Enter an expression and click Build Graph.
Local Gradient Rules
y = a + b
∂y/∂a = 1, ∂y/∂b = 1
y = a − b
∂y/∂a = 1, ∂y/∂b = −1
y = a × b
∂y/∂a = b, ∂y/∂b = a
y = a / b
∂y/∂a = 1/b, ∂y/∂b = −a/b²
y = xⁿ
∂y/∂x = n·xⁿ⁻¹
y = sin(x)
∂y/∂x = cos(x)
y = cos(x)
∂y/∂x = −sin(x)
y = eˣ
∂y/∂x = eˣ
Accumulated Gradients
Forward
Operation
...
...
Input Variable
Operation
Output (Root)
Forward Value
Backward Gradient