{"version":"1.0","type":"rich","title":"Visualizing data with React & D3","description":"This example visualizes the CSS named colors dataset loaded from a CSV file, displaying each color as a horizontal bar. The bars are stacked vertically, with each bar’s background color set to the corresponding RGB hex value from the data. The visualization uses React’s `useState` and `useEffect` hooks to manage asynchronous loading of the CSV via D3’s `csv` function, and renders the colored divs with React’s `ReactDOM.render`. While D3 is imported, it is used solely for CSV parsing, not for any chart layout or scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/63d18df01677479a95e7ccb209f39305?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}