Activity 6_Task1
✓ Published0🌍 Public
This interactive bar chart displays the populations of 30 countries for the year 2020, sourced from a GitHub-hosted CSV file. Each bar represents a country, with the length of the bar proportional to its population. The visualization is rendered using React and D3 v5, with a light green fill for the bars and blue tick lines for the axes. Tooltips, shown via `<title>` elements within the SVG `<rect>`s, provide formatted population values. The code utilities include D3's `scaleBand` and `scaleLinear` for coordinate mapping, `format` for tick labels, and `csv` for data loading.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed