{"version":"1.0","type":"rich","title":"Rendering Marks and Channels with React & D3","description":"This example displays a horizontal bar chart of the top 10 most populous countries for 2019, rendered as SVG within a React application. The chart uses React for component structure and state management, with D3's `scaleBand` and `scaleLinear` to map country names and population values to visual positions. Axis ticks are generated via `xScale.ticks()`, and population data is loaded asynchronously from a CSV file using D3's `csv` function. The bars are drawn as `rect` elements, with axis tick marks and labels created from the scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bf5f83a573c9417ab6f87861fb70d4dd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}