Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank!

Public visualization

Viewing a saved revision (read-only)

7fa7c1681f724a1faa9d1c9d40ccd444

Blank!

0 stars0🌍 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.