Skip to main content
100%

Activity 6_task 1_q1.1

✓ Published0🌍 Public
Rrajeswariamruthabommaraju@my.unt.edu
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

This chart displays the top 10 countries by population in 2020 as a horizontal bar chart, with population values formatted in billions. The visualization is built using React and D3 version 5, with SVG for rendering. Data is loaded from a remote CSV file using D3’s `csv` function, and the chart uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Interactive tooltips are generated via SVG `<title>` elements, and axes are constructed with custom React components.

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