Magnetic Bar Field Model shows the field of a bar magnet and has a movable compass that reports the magnetic field values.
The bar magnet model is built by placing a group of magnetic dipoles along the bar magnet.
You can modify this simulation if you have Ejs installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.