Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 8_VITESH CHALICHALICHEEMALA

Public visualization

Viewing a saved revision (read-only)

fd4f5aa286944e8395d81c12433a8fa1

Task 8_VITESH CHALICHALICHEEMALA

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

This horizontal bar chart displays the 2020 population for 30 countries, sorted by country name. Rendered as an SVG within a React component, the visualization uses D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `format` for tick labels. Data is loaded via D3’s `csv` from a raw GitHub URL. Tooltips show the formatted population on hover.

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.