Skip to main content
100%

Fork of Activity_8_Question-1.1

✓ Published0🌍 Public
Kkesava
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example shows a horizontal bar chart ranking the populations of ten countries in the year 2000. The chart uses D3 scales (scaleBand and scaleLinear) to position bars and axes, with React components handling the SVG rendering. Data is loaded from a remote CSV file via d3.csv, and tooltips display formatted population values using d3.format.

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