{"version":"1.0","type":"rich","title":"Making bar chart","description":"This example demonstrates how to build a horizontal bar chart from a CSV dataset using D3 version 6. The chart displays the `detailnumber` values for each country, with blue rectangles sized proportionally to the data. The code uses `d3.csv` to load the dataset, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` for the y-axis positioning. The SVG is pre-selected, and the `enter()` selection appends the rectangles directly to the rendered chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/13dda70a177641d7948d4b5c09562b95?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}