🌍 Public
Activity6_Population-1
This bar chart displays the population of 30 countries in 2020, sorted by country name. The visualization uses React with D3 v5, rendering SVG bars via the `scaleBand` and `scaleLinear` methods. The `csv` function loads data from a remote CSV file. Tooltips show formatted population values using `format('.2s')`, and axes are generated with custom `AxisBottom` and `AxisLeft` components.
AI-generated descriptionA demonstration of how to start using D3 version 6.
<iframe width="560" height="315" src="https://www.youtube.com/embed/Ia_DwVMXwgk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframeMIT Licensed
Comments
Sign in to join the discussion.