Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

DV TASK-8

Public visualization

DV TASK-8

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

A horizontal bar chart displays the 2020 population estimates for 30 countries, loaded from a CSV file via d3.csv. D3's scaleBand and scaleLinear position the bars, with axes rendered using React components. Bars are drawn as SVG rectangles, and hovering reveals formatted population values in a tooltip, with d3.format converting numbers to abbreviated strings.

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