Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Mmythripopuri2001@gmail.com
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

A horizontal bar chart displays the population of ten countries in the year 2000, with country names on the y-axis and population formatted in billions on the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and renders SVG rectangles via the `Marks` component. Data is loaded as CSV from a GitHub repository using D3's `csv` method, with axis labels and tick formatting handled by custom `AxisBottom` and `AxisLeft` components.

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