Made hotspot diagram dynamic, too.