Skip to main content
100%

one more time

✓ Published0🌍 Public
Mmauricio-acosta-reyes
Last edited May 6, 2021
Created on May 4, 2021

This example shows a smiley face built from a radial pie chart, where the face’s features are composed of labeled arcs. It uses React components to assemble the face from separate parts like the background circle, eyes, and mouth, while the main radial chart is rendered with SVG paths generated by d3.pie and d3.arc. The pie’s data comes from an array of values, and each arc is filled with a categorical color from d3.scaleOrdinal, with labels placed at the arc centroids. The visualization demonstrates a playful blend of charting and character design, with the face centered in a fixed SVG canvas.

AI-generated description

My take on making a smiley Face

MIT Licensed

Similar vizzes