Skip to main content
100%

Question:1_Vamsi

✓ Published0🌍 Public
Vvamsikrishnakanchukommala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity6_Task1

This visualization displays the populations of 20 countries in 2010 as a horizontal bar chart. The chart uses D3's `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, rendering bars as SVG rectangles via React. Data loads from a remote CSV using D3's `csv` parser, with population values converted from thousands. The axis ticks are generated by D3's `scale.ticks()` method, and hover tooltips show the 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