Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

textured pie chart

Public visualization

Viewing a saved revision (read-only)

0ae95d37ee1c4c27a5711dd055df419c

textured pie chart

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

This example shows a pie chart whose five slices are filled with distinct geometric textures instead of solid colors. Each slice uses a different pattern generated with the `textures` library, including hexagons, crosses, caps, woven, and waves. The chart is built using `d3.pie` and `d3.arc` to compute the slice paths, while `d3.scaleOrdinal` maps each data category to a texture URL. Rendered as an SVG, the chart includes a black stroke around each slice to visually separate the textured areas.

AI-generated description

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