Skip to main content
100%

Activity8 - Vaishalikonda

✓ Published0🌍 Public
Vvaishalireddy55555@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This visualization presents a horizontal bar chart of 2020 population data for 30 countries, sorted by country name, with bars encoded using SVG rectangles. The React-based application loads CSV data via D3’s `csv` method, transforms the population values, and scales them using `scaleBand` and `scaleLinear`. Axes are custom components drawing from D3’s `format` (with SI suffixes like "B" for billions) and tick generators. The chart includes axis labels and tooltips via SVG `<title>` elements, with styling applied through React components and CSS.

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.
MIT Licensed

Similar vizzes