Skip to main content
100%

Activity6_task1_question_2

✓ Published0🌍 Public
Aazeemrm630@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This visualization displays the population of 20 countries in 2010 as a horizontal bar chart, sorted by country name along the y-axis with population magnitude on the x-axis. The chart uses a linear scale for population and a band scale for categorical countries. Built with React and D3 v5, it utilizes SVG rendering, with `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and loads data from a CSV URL parsed via `d3.csv`. The bars are colored light green, and axis tick labels are styled with blue lines.

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