Bar Chart with Highlighting
This bar chart displays the populations of ten countries using horizontal bars, with color encoding highlighting ranges: red for those above one billion, orange for over 200 million, yellow for over 150 million, and green otherwise. The visualization is rendered as an SVG using d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, with data loaded from a CSV via d3.csv. Hover interactions reveal a tooltip text element that displays country and population values, while adjusting bar opacity.