Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates a simple interactive web page where clicking a large “click me” heading appends a red “wassup” message to the body. The code uses D3 v6 selections (d3.select, d3.selectAll) to bind data arrays and append SVG rects, though the rect-drawing logic is commented out. The SVG remains empty, while the primary interaction relies on d3.select('h1').on('click') to trigger DOM insertion, rendering entirely through SVG and HTML elements in the browser.
AI-generated descriptionMIT Licensed