Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

415b15258aa84fe2bcf6eae6ca97ff3a

activity 6_Task 1

0 stars0🌍 Public
Ssairamisetti3829@gmail.com
Last edited Oct 19, 2024
Created on Oct 16, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, with horizontal bars ordered by country name and encoded by population value. Rendered as an SVG via React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map data, while `AxisBottom` and `AxisLeft` components generate tick marks and labels. The data is loaded from a CSV file using D3’s `csv` function, and each bar includes a tooltip showing the formatted 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.