Skip to main content
100%

Activity 6 Task 1.2

✓ Published0🌍 Public
BBamanGayathri
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

This visualization presents a horizontal bar chart of population data for 20 countries, sourced from a CSV file for the year 2010. The bars are rendered as green SVG rectangles, with a blue axis line and the y-axis labels placed to the left. Built with React and D3 v5, the code uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric scale, with a custom tick formatter that abbreviates large numbers.

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