{"version":"1.0","type":"rich","title":"Barchart using csv","description":"This example presents a horizontal bar chart of country populations, with each bar’s length corresponding to its population value from a CSV file. Using D3 v4, it loads `data.csv` with `d3.csv` and renders SVG rectangles, scaled linearly on the x-axis and banded on the y-axis. The chart displays axes via `d3.axisLeft` and `d3.axisBottom`, applies margins through a translated group, and styles bars blue via CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9bb15f10d4b84ae784c8852322307ad1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}