{"version":"1.0","type":"rich","title":"Activty_6_Question_1_2","description":"This interactive bar chart visualizes the population of the top 20 countries for the year 2010. Built with React and D3 v5, the visualization maps country names to a categorical y-axis and population values to a linear x-axis, using SVG rectangles to represent each data point. The code utilizes `d3.scaleBand`, `d3.scaleLinear`, and `d3.format` to construct the axes and format tick labels, with hover tooltips displaying the population. Data is loaded asynchronously from a CSV file via `d3.csv`, and the chart is rendered using the React DOM, with axes and marks encapsulated as separate components.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3f2a4ecbce994088813d922d79daf97e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}