{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example shows a horizontal bar chart of population by country, using a CSV dataset with ten nations. The visualization renders as SVG within a React framework, with bars displayed in steel blue and axes labeled. The code builds the chart using D3 v5 APIs including `scaleLinear` for the x-axis, `scaleBand` for the y-axis categories, and `axisLeft` and `axisBottom` for tick marks. Data is loaded asynchronously with `csv`, then population values are multiplied by 1,000 before being mapped to bar widths.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/174a3825cab14aa6aa38f9ba9beb9b82?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}