Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pavan act-7

Public visualization

Viewing a saved revision (read-only)

f0ec88351e044f9cae7dc2b5837dfce3

pavan act-7

0 stars0🌍 Public
Kkotipallipavan54@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This bar chart displays the 2020 population estimates for 30 countries, with a green horizontal bar for each nation ordered along a categorical y-axis. The chart uses a linear x-scale to encode population values, formatted with D3's `format('.2s')` to show billions with a "B" suffix. It is rendered as SVG in React 16, using `d3.csv` asynchronously loaded from a GitHub-hosted dataset, while `d3.scaleBand`, `d3.scaleLinear`, and `d3.max` calculate scales from the data.

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.