Activity8_Task-1
✓ Published0🌍 Public
This example shows a horizontal bar chart of 2020 population data for 30 countries, with country names on the y-axis and population values on the x-axis, formatted in billions. The chart uses D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis, rendered as SVG rectangles via React. Data is loaded from a CSV file using D3’s `csv` parser, and axes are drawn with custom `AxisBottom` and `AxisLeft` components that style tick lines and labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed