Skip to main content
100%

Activity 7 Task 1.3

✓ Published0🌍 Public
MMichael Biancardi
Last edited Jul 17, 2023
Created on Jun 28, 2023

A horizontal bar chart displays the top 20 countries by 2020 population, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, loading CSV data via `d3.csv` and rendering SVG rectangles. Axes are generated with custom components using `scaleBand` and `scaleLinear` ticks, while tooltips are provided through SVG `<title>` elements.

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