{"version":"1.0","type":"rich","title":"React D3 Bar Chart","description":"This example visualizes the top 10 countries by projected 2020 population as a horizontal bar chart, with country names on the y-axis and population scaled along the x-axis. It loads data from a CSV URL using the D3 `csv` function and stores the parsed result in React state via the `useState` and `useEffect` hooks. The bars are rendered as SVG `<rect>` elements, with positions and widths computed using D3’s `scaleBand` and `scaleLinear`. React manages the component lifecycle, displaying a loading message until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5c76ff30afae4d62b143554c411149ab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}