Skip to main content
100%

Activity6_Question 1.1

✓ Published1🌍 Public
MMounishAllam@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 19, 2024

A horizontal bar chart displays the populations of ten countries for the year 2000, sorted by descending value. Built with React and D3 v5, the visualization uses `d3.scaleBand` and `d3.scaleLinear` to map country names and population counts to SVG rectangles and axes. It loads CSV data via `d3.csv` from a remote GitHub repository, with population values scaled from the raw figures. Axis ticks and marks are rendered as SVG elements, with a tooltip showing formatted 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