Activity 6 task 1
✓ Published0🌍 Public
This visualization displays the populations of 20 countries in 2010 as a horizontal bar chart. Using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis, the React-rendered SVG bars are color-coded green with a tooltip showing the formatted population value. The code loads CSV data via d3.csv, applies a custom tick format that converts gigabytes to billions, and includes axis components for labeled ticks.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed