Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 8 Q1B

Public visualization

Viewing a saved revision (read-only)

76268760ecf34bff9e0f5f40a87d7781

Task 8 Q1B

0 stars0🌍 Public
SSushmaNamidi@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Task 8-Q1A

This bar chart displays the population of 20 countries in 2010, with countries on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles. The chart includes custom axis components, tick formatting that converts values to billions, and native tooltips using SVG `<title>` elements.

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.