Skip to main content
100%

Activity 7

✓ Published0🌍 Public
BBhavyaMammai
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This example shows a horizontal bar chart of the top 10 countries by 2010 population. It uses React to render SVG elements and D3 v5 scales and axes for layout, with data loaded from a CSV file via d3.csv. The chart includes blue tick lines, green bars, and a formatted population axis label. Tooltips display the population values using D3’s format function with SI-prefix notation.

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