Activity6 Task-1
✓ Published0🌍 Public
This bar chart displays the population of various countries for the year 2020, with countries listed on the y-axis and their population values on the x-axis. The data is loaded from a remote CSV file via D3's `csv` function, with the population values multiplied by 1000. The visualization is rendered as an SVG using React, with D3's `scaleBand` and `scaleLinear` for axis scaling. Horizontal bars are generated as `rect` elements in the `Marks` component, and tooltips using the `title` element show the formatted population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed