Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

textured pie chart

Public visualization

Viewing a saved revision (read-only)

52bf0ec7fcf04d3cb2a59f045ce37fdc

textured pie chart

0 stars0🌍 Public
Ffeizhi123
Last edited May 26, 2020
Created on May 26, 2020
Forked from textured pie chart

A textured pie chart displays five categorical values using distinct geometric patterns—hexagons, crosses, caps, woven, and waves—assigned via the textures library. D3.js v4 computes arc paths with d3.pie and d3.arc, while an ordinal color scale maps each category to a unique hue. The SVG output includes black strokes between slices, created through basic DOM selection and data binding.

AI-generated description

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