Skip to main content
100%

D3 Workshop: Part 1 - Basic HTML, d3, and Data Binding

✓ Published0🌍 Public
MMandyMeindersma
Last edited Nov 12, 2018
Created on Nov 12, 2018

This interactive teaching example introduces fundamental D3.js concepts through a sandboxed exercise. The page presents a button that triggers `runCode()` to execute D3 code, plus predefined paragraphs and a checklist of tasks. Part 1 focuses on basic DOM manipulation with raw HTML. Part 2 tasks users with creating an array named `myData`, appending it as new paragraphs using `d3.select` and `d3.append`, and adding click behavior for console logging and text changes. The final part confirms completion by checking all list items programmatically via D3. The included checklist UI uses CSS selectors to visually strike through completed items.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/ideaOwl/'>ideaOwl</a>'s block: <a href='http://bl.ocks.org/ideaOwl/c9cfb578976a88a140fadd030e4f486e'>D3 Workshop: Part 1 - Basic HTML, d3, and Data Binding</a>

mit Licensed

Similar vizzes