Activity6_Task1_Question1
✓ Published1🌍 Public
This example shows a horizontal bar chart ranking the populations of ten countries for the year 2020, using data loaded from a CSV file hosted on GitHub. The visualization uses React and D3 v5, with `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and SVG `<rect>` elements drawn via `Marks`. Axes are rendered with custom `AxisBottom` and `AxisLeft` components, while tick labels use D3’s `format` with `.2s` notation to abbreviate values to billions. The chart displays “POPULATION-2020” as its axis label.
AI-generated descriptionMIT Licensed