{"version":"1.0","type":"rich","title":"Grafico de barras com Margin Convention","description":"This example shows a horizontal bar chart of the top ten countries by 2020 population, using a margin convention to position the visualization within an SVG. The React component fetches CSV data from a GitHub gist and renders bars with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. It applies `d3.csv` for parsing, `max` for domain calculation, and a translated `<g>` group to offset the chart by the specified margins. The chart displays population values as bar widths, with a simple loading state before data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f89b2ab13e7d49879ed05902c97f2755?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}