{"version":"1.0","type":"rich","title":"Fork of Rendering Data with React & D3","description":"This example shows a horizontal bar chart of the ten most populous countries in 2020, using population data loaded from a CSV file hosted on GitHub. The code combines React for component rendering with D3 utilities `csv`, `scaleBand`, and `scaleLinear` to parse the data and set up the scales for the chart. Each country is drawn as an SVG `<rect>` element, with the bar width proportional to its population. The visualization demonstrates how D3’s data-loading and scaling functions can be integrated directly into a React component’s state and effect hooks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d253b031a047464ab991f8fdf409ec9a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}