Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
RRukmini Devi Y
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart showing the 2020 population estimates for 30 countries, sourced from a CSV file hosted in a GitHub repository. The chart uses D3 v5 to load and parse the data, as well as to create the scales and tick formatting, which converts values from gigabytes to billions. The visualization is rendered in React, with the bars and axes built using SVG elements and custom components for the bottom and left axes, along with tooltips showing the formatted population values.

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