Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

49e513b7ca074bc19ec426910895cbb7

activity 6_Task 1

0 stars0🌍 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.