Skip to main content
100%

Tutorial 8 Task1

✓ Published0🌍 Public
Jjaswanthichowdarykalapala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart of 2020 population estimates for 30 countries, with a green fill, blue axis ticks, and a custom “POPULATION-2020” axis label. It loads data from a remote CSV via `d3.csv` and uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and `max` to set the domain. The React components render SVG groups for the bottom and left axes, while each bar’s `<rect>` includes a `<title>` tooltip formatted with `d3.format('.2s')`. D3 v5 is loaded via UNPKG.

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