Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Ttarun.chintada46@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This visualization displays a horizontal bar chart of population data for 30 countries in 2020, sourced from a CSV file. Bars are rendered as SVG rectangles within a React component, with D3 v5 handling scales and tick marks. The chart uses a band scale for the categorical y-axis and a linear scale for the numeric x-axis, with formatted tick labels converting values to billions. Hovering over a bar reveals its exact population via a tooltip.

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