Skip to main content
100%

activity6_question1

✓ Published0🌍 Public
Nnishwitha.1032@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

A horizontal bar chart displays the populations of ten countries in the year 2000, sourced from a CSV file and rendered as SVG rectangles with React. D3’s `scaleBand` and `scaleLinear` position bars, while custom `AxisBottom` and `AxisLeft` components generate tick marks and labels using `d3.format`. A title tooltip appears on each bar via an HTML `<title>` element, and the chart applies a green fill with blue axis lines.

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