🌍 Public
Viewing a saved revision (read-only)
458493d9eaca4cea91732770a58cc9db
activity 6_Task 1
This bar chart displays the 2020 population for 30 countries, sorted along a linear scale, with country names on the y-axis. Built with React and D3 v5, it creates an SVG using `scaleBand` for the categorical axis, `scaleLinear` for the numeric axis, and custom `AxisBottom`, `AxisLeft`, and `Marks` components. The data comes from a CSV file loaded with `d3.csv`.
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.