Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 Task 1

Public visualization

Activity_6 Task 1

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed