Skip to main content
100%

Data vizualization(css colors)

✓ Published1🌍 Public
Ggayatrisridhar
Last edited May 9, 2021
Created on May 9, 2021

This example displays every named CSS color as a single slice of a pie chart, with each slice filled using its corresponding hex value. The visualization is generated with React and D3 v5, using the `d3.pie` layout and `d3.arc` generator to compute slice paths from a CSV of color data. An SVG element renders the result, with all slices sharing an equal arc length to create a uniform, rainbow-like disc that highlights the full spectrum of CSS color names.

AI-generated description
MIT Licensed

Similar vizzes