{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example showcases a full-width horizontal strip chart of CSS named colors, where each color is represented by a single div element whose background color is set from its corresponding RGB hex value in the data. The data is loaded asynchronously using `d3.csv` from a GitHub gist, and React’s `useState` and `useEffect` hooks manage the loading state and data fetching. React renders the rows sequentially, creating a continuous color spectrum across the viewport. This demonstrates how React can directly render data-driven components without using D3’s DOM manipulation, relying instead on plain inline styles for visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/73519b7426ad4be1bce6491ed36a2f7e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}