An ordinary graph maps a number to a number, so a curve fits on a flat screen. A complex function maps a plane to a plane — two inputs, two outputs, four dimensions — and there's no curve to draw. So we do what mathematicians do on paper: we paint the plane.

Source: [Dev.to](https://dev.to/lucian_lkb_1f009d/domain-coloring-plotting-complex-functions-fz-in-the-browser-56ne)

Sponsored