Skip to main content
100%

Activity 6_Task 1.1

✓ Published1🌍 Public
Vvarunreddy.gudigopuram@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024
Forked from Hello VizHub

A horizontal bar chart displays population figures for ten countries using a dataset loaded from a GitHub-hosted CSV file. The visualization uses React components to render SVG elements, with D3 v5's `scaleBand` and `scaleLinear` handling the coordinate mappings. Axis components generate tick marks and labels, while a tooltip using the SVG `title` element shows the formatted population value for each bar. The chart is ordered alphabetically by country name, with axes styled through CSS classes.

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