{"version":"1.0","type":"rich","title":"Fork of Loading Data with React","description":"This example shows the CSS named colors dataset rendered as a horizontal stacked bar chart, where each row is a colored strip corresponding to a color’s RGB hex value. The visualization uses React hooks—`useState`, `useEffect`, and `useCallback`—to manage asynchronous data loading via `d3.csv`, displaying a loading message until the data arrives. React then maps over the parsed CSV rows to generate the colored divs, demonstrating a simple integration of D3’s data fetching with React’s state-driven rendering in an SVG-less, HTML-based layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4b77b0d995f1429eba5aa5882ac8a7cb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}