Skip to main content
100%

Activity-6-Task1.2

✓ Published0🌍 Public
SSaiKiranReddyKancharla@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024

A horizontal bar chart displays the 20 most populous countries in 2010, with country names on the y-axis and population values on the x-axis. The React app loads CSV data via `d3.csv` using a custom `useData` hook, then renders SVG rectangles with D3 `scaleBand` and `scaleLinear` scales. D3 axes and tick formatting with `d3.format` label the chart, and native SVG `<title>` elements provide tooltips on hover.

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