Skip to main content
100%

activity-6-t-1

✓ Published0🌍 Public
SSathishvepuri143@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This chart displays the population of 30 countries in 2020 using a horizontal bar chart. The React-based visualization uses D3 modules like `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, with formatted tick labels using `format.` Each bar is an SVG `rect` with a tooltip showing the population value. The data is loaded from a remote CSV file, and axes are rendered using the custom `AxisBottom` and `AxisLeft` components.

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