Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Ssongr0
Last edited Aug 2, 2019
Created on Aug 1, 2019

This interactive network graph uses D3’s force simulation to arrange a hierarchical dataset of experts and technology topics, with draggable nodes and zoom/pan support via `d3.zoom`. A button triggers a custom `switch` event that toggles the graph between a tree layout and a face-like arrangement, animating the eyebrows. Rendered as SVG elements (`circle` and `line`), the visualization demonstrates DOM manipulation with D3’s data joins and scales.

AI-generated description

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

MIT Licensed

Similar vizzes