Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 8, 2023
Created on Jul 8, 2023
Forked from Hello VizHub

This example displays a horizontal bar chart of the 2010 population for ten countries, sourced from a CSV file via a URL. Built with React and D3 v5, it uses a linear x-scale for population values, formatted with SI prefixes (e.g., "B" for billions), and a band scale for country names. The SVG rendering includes custom axes and tooltips that show the formatted population value on hover.

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