Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

que1.1 supriya

Public visualization

que1.1 supriya

0 stars0🌍 Public
SSupriya Ravilla
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart. The React app uses D3’s `csv` method to load data from a GitHub-hosted CSV, then maps it through `scaleBand` and `scaleLinear` to position rectangular SVG marks. Axes are rendered with custom components that call D3’s `ticks` and `format` utilities, converting values like “1.5B” for legibility.

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