Dynamic visualisation in HTML documents