Skip to main content
100%

Activity_6 Task 1

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

This visualization displays the 2020 population for 30 countries using a horizontal bar chart. React renders the SVG, while D3’s `scaleBand` and `scaleLinear` position the bars and axes. Data loads from a CSV file via `d3.csv`, with population values formatted using `d3.format`. The `Marks` component draws rectangles, and native SVG `<title>` elements provide tooltips on hover.

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