{"version":"1.0","type":"rich","title":"rendering data with react: pie","description":"This example renders a pie chart from a CSV file of CSS color names and their RGB hex values. The React component loads the data with d3.csv, then maps each row to a thin horizontal div whose background color matches the hex value. The visualization presents the color palette as stacked stripes, with a loading message displayed until the data arrives. It uses React hooks (useState, useEffect) and ReactDOM for rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/573a0559b38e43d2ae96449fcca3cb5a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}