{"version":"1.0","type":"rich","title":"dv2020-ep23-viz23 - bar chart, refactor","description":"This bar chart displays the top 8 most populous countries in 2020, sorted in descending order, using data from the UN World Population Prospects 2019. The visualization refactors a previous episode into reusable React components, with the SVG rendered via React elements. It uses d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and d3.csv for data loading. Axes and marks are extracted into separate modules, improving code organization and reusability across episodes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/db8b4e09ff584a6d9a3b5037c2298133?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}