Skip to main content
100%

Activity 6 Task 1

✓ Published0🌍 Public
Mmangilipallylaxminarayana@gmail.com
Last edited Apr 11, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

A horizontal bar chart displays the top ten countries by population in the year 2000, using green rectangles scaled by a linear x-axis. The visualization is rendered as an SVG with React components, including reusable axis and mark components. It loads CSV data via D3’s `csv` function and applies `scaleBand` and `scaleLinear` for positioning. The chart includes formatted tick labels that convert billions to a readable format, and each bar contains a tooltip showing the exact population value.

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