textured pie chart
✓ Published3🌍 Public
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 descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed