Skip to main content
100%

textured pie chart

✓ Published3🌍 Public
Zzoniyac
Last edited May 12, 2020
Created on May 12, 2020
Forked from textured pie chart

This example displays a textured pie chart with five categorical segments, each filled with a distinct pattern and color derived from dummy data. It uses the D3.js `d3.pie` and `d3.arc` APIs to compute angles and render SVG paths, while the textures library (via `textures.paths`) generates hexagonal, cross, cap, woven, and wave patterns. The chart is styled with a black stroke and a categorical color scale.

AI-generated description

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

MIT Licensed

Similar vizzes