{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example displays the CSS named colors as a vertical stack of horizontal strips, each rendered as a div with the color’s hex value as its background. The data loads asynchronously from a CSV file via d3.csv, and React’s useState and useEffect manage the loading state and trigger the fetch. Once parsed, the data maps to a list of divs, with each div’s height fixed at 4 pixels and width at 960 pixels. The visualization uses React to render SVG-independent HTML elements, with d3.v6 handling the CSV parsing, and React 16.9 managing the component lifecycle and dynamic rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/96d769d8e0ce47b48db616bfd802b7db?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}