🌍 Public
Viewing a saved revision (read-only)
c0d75341c73f4b2787fdf76a02d8d866
make bar
A horizontal bar chart displays population estimates for ten countries, from China to Mexico. The visualization encodes population values on the x-axis using a d3.scaleLinear, and country names on the y-axis with a d3.scaleBand. Data is loaded from a CSV file with d3.csv and rendered as SVG rectangles. The chart includes axes generated by d3.axisLeft and d3.axisBottom, while d3 v5 handles the scaling, selection, and data binding.
AI-generated description