Mutual Information Lab (2D)

This 2D companion drives the same binned mutual-information estimator as the 3D version through a plain canvas heatmap and scatter view: pick a relationship shape, dial noise and sample size, and watch Pearson r and mutual information respond very differently as the same points get reshaped from linear to quadratic to a ring to fully independent.