Skip to main content
100%

Task_8_q1

✓ Published0🌍 Public
YYeshwanth963@gmail.com
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Task_8

A horizontal bar chart displays the populations of ten countries as of the year 2000. The visualization uses React with D3 v5, rendering bars as SVG rectangles via the `scaleBand` and `scaleLinear` scales, with axes rendered by custom `AxisBottom` and `AxisLeft` components. Data is loaded asynchronously from a CSV file using the `csv` function from d3. Population values are formatted in billions using `format('.2s')`. Tooltips show the formatted population on hover through a native SVG `<title>` element.

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