{"version":"1.0","type":"rich","title":"Making a Bar Chart - Modular","description":"A horizontal bar chart ranks the ten most populous countries, using CSV data for country names and population figures. The example demonstrates a modular build process, separating the chart's core logic from reusable components. It uses D3 version 6 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the scales and axes. SVG elements are appended and configured within a translated group, with custom tick formatting that converts values to billions. Axis labels and a main title are added, while CSS styles control the visual appearance of bars, ticks, and text elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8307fe5ab1e34f0b930d6d88802c65bb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}