Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACT6-Question2

Public visualization

ACT6-Question2

0 stars0🌍 Public
RRayabarapu Nikhitha
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from ACT6-Question1

This visualization is a horizontal bar chart ranking the 20 most populous countries in 2010, with bars proportional to each country's population. It is built using React and D3.js v5, leveraging `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and `d3.format` to display population values in billions. The SVG rendering includes custom axes and hover tooltips via `<title>`, with data loaded from a remote CSV using `d3.csv`.

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