Skip to main content
100%

Blank!

✓ Published0🌍 Public
Aaidanoconnor1
Last edited Dec 1, 2019
Created on Dec 1, 2019

This example shows a blank SVG canvas with a yellow rectangle. It demonstrates fundamental DOM manipulation using D3.js by appending a `rect` element and setting its width attribute. The code imports the `select` function from the d3 library, then uses it to target the SVG element. The page renders using SVG, and the implementation is based on D3 v5, with styling defined in an external stylesheet.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes