Skip to main content
100%

Activity 6_Task1.2

✓ Published1🌍 Public
DDeekshitha Annreddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 6_Task 3

This example displays a horizontal bar chart comparing the 2010 population of twenty countries, sourced from a remote CSV file. It uses React to render an SVG visualization with D3’s scale functions, including `scaleBand` for the categorical country axis and `scaleLinear` for the continuous population axis. The chart includes custom axis components and tooltips that format population values in abbreviated SI units.

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