{"version":"1.0","type":"rich","title":"Making a Bar Chart with React","description":"This example shows a horizontal bar chart of the top 10 countries by population in 2020, with rectangular marks colored teal and a formatted axis labeling values in billions. Built with React and D3 v5, it uses scaleBand for the y-axis, scaleLinear for the x-axis, and separates chart elements into reusable components like AxisBottom, AxisLeft, and Marks. Population data is loaded from a CSV file using d3.csv, and the SVG is rendered entirely through React.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0b86180fa7af434fa393fb8068221621?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}