Skip to main content
100%

Activity 6_Task1

✓ Published1🌍 Public
Ttejaswiteju9811@gmail.com
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Activity 6

A horizontal bar chart displays population data for various countries in 2020. The visualization uses D3’s `scaleBand` and `scaleLinear` to map country names and population values, with axes rendered as custom React components. The bar lengths encode population magnitude, and tick labels use D3’s `format` function to abbreviate large numbers (e.g., “1.2B”). The chart is rendered as SVG within a React application, drawing data loaded from an external CSV file.

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