Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

QUESTION-1(TASK-1)

Public visualization

Viewing a saved revision (read-only)

17fecde12a8644cb834f639ca31f3fae

QUESTION-1(TASK-1)

0 stars0🌍 Public
Vvenkataravitarunelisetty@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

A horizontal bar chart displays the top 10 countries by population in the year 2000, with bars sorted in descending order. The visualization loads CSV data via `d3.csv`, transforms population values by multiplying by 1,000, and renders SVG rectangles using React components. D3 scales (`scaleBand`, `scaleLinear`) position the bars, while `d3.format` abbreviates axis tick labels (e.g., converting billions to "B"). The chart includes styled axes with blue tick lines and green bars, using a Poppins font.

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.