Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
Ppradeepgubbala2001@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This visualization shows a horizontal bar chart comparing the populations of 30 countries for 2020, sorted by country name. Data is loaded from a CSV file via `d3.csv`. The chart uses React components with D3 scales, arranging bars with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The SVG output includes custom axes, blue tick lines, and green bars with tooltips, with populations formatted using `d3.format`.

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