Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Let's make a face with D3.js!

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

Comments

Sign in to join the discussion.

MIT Licensed