Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
Vvikramkotlo9@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Activity 6-vikram

This horizontal bar chart displays the 2020 population estimates for 30 countries, with bars sorted by country name along the y-axis and population values on the x-axis. The visualization uses React components to render SVG elements, with D3’s scaleBand and scaleLinear handling the spatial mapping and d3.csv loading population data from a GitHub-hosted CSV file. Axis components generate tick marks and labels, while a formatter converts large numbers into abbreviated values like “1.2B” for readability.

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