Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Bbobbymeyermsis@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task-2

This bar chart shows the population of countries in 2010, with horizontal bars sorted by country name along the y-axis and population values on the x-axis. The visualization uses React and D3 v5, rendering as an SVG with scales created via `d3.scaleBand` and `d3.scaleLinear`. Data is loaded as CSV from GitHub, with the population values converted from the '2010' column and multiplied by 1000. The chart includes axis labels, tick marks, and tooltips displaying formatted population values.

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