{"version":"1.0","type":"rich","title":"Making A Bar Chart With React &D3","description":"This example shows a donut chart of CSS named colors, with each slice representing one color from a CSV dataset loaded via React’s `useEffect` hook. The visualization uses `d3.pie()` to compute slice angles and `d3.arc()` with an inner radius of 0 and outer radius set to the viewport width, rendering each segment as an SVG `<path>` filled with the corresponding hexadecimal value from the data. The chart is centered within a 960×500 SVG canvas, with data fetched asynchronously from a remote gist URL and displayed only after the CSV loads.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/50b2e54d094a4916b8e583535e683f69?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}