Skip to main content
100%

activity 6_Task 1

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

This example displays a horizontal bar chart comparing the populations of ten countries for the year 2000. Using React and D3 v5, it loads CSV data via the `useData` hook, scales the bars with `scaleBand` and `scaleLinear`, and formats tick labels with `format`. The SVG renders through reusable `AxisBottom`, `AxisLeft`, and `Marks` 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