Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE6

Public visualization

Fork of ICE6

0 stars1🌍 Public
SSnigdha6698
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from dataset

This visualization displays a horizontal bar chart of the top 10 countries by population from a CSV dataset loaded via a URL. The bars are rendered as SVG rectangles using D3 scales, with the x-axis showing population values and the y-axis listing country names. The React app uses D3's `csv` to fetch and parse data, `scaleBand` and `scaleLinear` for positioning, and renders the chart inside an SVG element with a steelblue fill.

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