Skip to main content
100%

textured pie chart

✓ Published1🌍 Public
Zzoniyac
Last edited May 18, 2020
Created on Apr 22, 2020
Forked from textured pie chart

A textured pie chart visualizes categorical data using SVG paths filled with repeating custom patterns. Built with D3.js v4 and the textures library, the code defines four distinct path-based textures via `textures.paths()`, applying them to a pie layout. The chart renders within an SVG container, using D3's data join to generate slices, with each slice receiving a unique texture from the pre-defined set. The example demonstrates how to integrate third-party texture generation with D3's declarative SVG manipulation for enhanced visual distinction between categories.

AI-generated description

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

MIT Licensed

Similar vizzes