{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example visualizes CSS named colors as a stacked sequence of horizontal bars, each colored by its RGB hex value. Using React for rendering, it first loads the color data from a remote CSV file via D3’s `csv` utility and stores it in state. Once loaded, it maps over the data, creating a `<div>` for each color with the appropriate `backgroundColor` and fixed dimensions. The implementation combines React’s `useState` and `useEffect` hooks with D3’s data-fetching and parsing API, while also referencing a separate `message` module that computes file size, row, and column counts via D3’s format functions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c911518971d8400ca73de8554980fb2b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}