🌍 Public
Activity-6
This horizontal bar chart displays the populations of 30 countries for the year 2020, ordered along the y-axis. Built with React and D3 v5, it renders as an SVG, using `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the quantitative axis, with data loaded from a CSV file. The bars’ widths encode population values, and a tooltip (via the SVG `<title>` element) shows the formatted value on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.A demonstration of how to start using D3 version 6.
MIT Licensed
Comments
Sign in to join the discussion.