Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
SSiddhardha
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

Three horizontally stacked bar charts compare population by country across the years 2000, 2010, and 2020. The visualization uses a React and D3.v5 setup with SVG rendering, employing `scaleBand` and `scaleLinear` to map country categories and population values. Data is loaded from a CSV file via D3's `csv` function, and the charts are titled with their respective years, with tooltips showing formatted population values. The code implements custom `AxisBottom` and `AxisLeft` components for tick rendering.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes