Skip to main content
100%

Fork of Avtivity-6-Task-1

✓ Published0🌍 Public
Nnaveen.dodda4321@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

A horizontal bar chart displays 2020 population estimates for 30 countries, using a D3 scaleBand for country categories on the y-axis and a scaleLinear for population values on the x-axis. The React app fetches a remote CSV via d3.csv and converts string values to numbers. SVG rectangles render each bar, with axes generated by custom React components, and tick labels formatted using d3.format’s SI notation with "G" replaced by "B" for billions.

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