Activity 6 Task 1.1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000, with countries listed on the vertical axis and population on the horizontal axis. The visualization uses React with D3 v5 APIs including `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `csv` for fetching data from a GitHub repository. SVG rectangles render the marks, with axis ticks and labels styled through CSS. The chart sorts and slices the loaded dataset to show the top ten most populous countries.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed