Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face!

Public visualization

Lets make a face!

0 stars0🌍 Public
LLonkiSolomki
Last edited Oct 5, 2019
Created on Oct 5, 2019

This example visualizes a simple line drawing of a human face using only two data points as input. The face is rendered as an SVG path, with its shape generated through a force-directed layout simulation using `d3.forceSimulation`. The code applies thick, rounded strokes via the `.lines` and `.lines path` CSS classes, giving the face a soft, cartoon-like appearance. All drawing happens directly in the browser with D3.js v5, and the visualization updates dynamically as the simulation runs.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed