Skip to main content
100%

Activity6_Q1.2

✓ Published1🌍 Public
Ppradeepgubbala2001@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

This horizontal bar chart visualizes the population of the first 20 countries in 2010. Built with React and D3 v5, it renders as an SVG, using `d3.csv` to load data from a remote CSV file, `d3.scaleBand` for the y-axis, and `d3.scaleLinear` for the x-axis. Rectangles represent population values, formatted with the `d3.format` function. The chart includes custom axes and a tooltip showing the formatted population value 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