{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example demonstrates a horizontal bar chart comparing the populations of ten countries, with China leading and Mexico trailing. The chart is built using D3 version 6’s `scaleLinear`, `scaleBand`, `axisBotom`, and `axisLeft` to position bars and ticks. Data is loaded from a JSON file via `d3.json`, with population values multiplied by 1000. Axis labels and a chart title are added as SVG text elements, styled via CSS classes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3d1a5aaa05d54620af5ede17b9df26ff?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}