Skip to main content
100%

Activity 6_Q1.1

✓ Published1🌍 Public
Kkeerthana11.mcs@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Activity 6_Task 1

This horizontal bar chart displays the population of the top 10 countries in the year 2000, ordered alphabetically by country name. The visualization uses React and D3 v5, with `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. Data is loaded asynchronously from a remote CSV file via `d3.csv`, and bars are rendered as SVG rectangles with tooltips showing 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