{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a bar chart of the top 10 most populous countries, with values plotted along a linear scale and country names on an ordinal axis. The visualization is rendered as SVG on a white background, using React for component structure and D3.js (v5) for scales and data loading. The data is fetched from the United Nations World Population Prospects 2019 CSV via D3’s `csv` helper, then sliced to the first ten entries. The chart is divided into four React components—axes and marks—each taking scales and dimensions as props, demonstrating a modular, refactored approach to building D3 visualizations within a React framework.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/56c6c64fed6b4c7d94fec06a80bf9f2c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}