Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Fork of HTML Starter

0 stars0🌍 Public
Nnutmegsashimi
Last edited Feb 2, 2021
Created on Feb 2, 2021
Forked from HTML Starter

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 description

Comments

Sign in to join the discussion.

MIT Licensed