Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar_chart

Public visualization

bar_chart

0 stars0🌍 Public
JJaya Durga V
Last edited Jan 28, 2022
Created on Jan 28, 2022
Forked from color_graph

This example renders a colorful pie chart where each slice represents a CSS named color, loaded from a remote CSV file. The code uses React for component state management and D3’s `csv`, `pie`, and `arc` functions to compute and draw the chart as SVG paths. Each slice is filled with its corresponding hexadecimal value from the dataset, creating a full circle of distinct hues. The visualization demonstrates a straightforward mapping of categorical data to a pie layout without inner radius or additional styling.

AI-generated description

CSS color gradient pie chart created with the React and D3

Comments

Sign in to join the discussion.

MIT Licensed