Skip to main content
100%

People

✓ Published3🌍 Public
AAsrar Al Qassem
Last edited Feb 25, 2024
Created on Feb 25, 2024
Forked from Fly

This visualization uses D3.js v6 to render simple stick figures representing people in an SVG container. Each person is constructed from basic geometric shapes: a peachpuff circle for the head, a skyblue rectangle for the body, and lines for arms and legs. The code binds an array of x,y coordinates via `selectAll().data().enter()` and appends a group per person, translating each group to its position. It demonstrates fundamental D3 data joins and SVG shape creation with hardcoded sample data rather than an external source.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes