Skip to main content
100%

textured pie chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes