{"version":"1.0","type":"rich","title":"Rending data with react","description":"This example renders the CSS named colors as a vertical stacked bar chart, with each color occupying a thin rectangular slice across the width of the viewport. The visualization loads the color data from a CSV file using D3’s `csv` utility, then maps each row to a styled `<div>` element with a background color set to the RGB hex value from the dataset. React manages the asynchronous data loading through the `useEffect` hook and renders the list of colored strips once the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/916b237e6a1644b88adb4f14cd7a7e80?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}