The example demonstrates how to create SVG charts with scripts that modify both the SVG document and the containing HTML document.