Skip to main content
100%

act 6 q1

✓ Published1🌍 Public
Kkaringusathwika@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Task8

This example displays a horizontal bar chart of population estimates for ten countries in 2000, ranked by country name along the y-axis. The chart is rendered as an SVG using React components, with scales and formatting provided by D3 v5 methods such as `scaleBand`, `scaleLinear`, `max`, and `format`. Data is loaded asynchronously from a CSV via `csv` and the `useData` hook, with population values converted from thousands. Native SVG `<title>` elements supply tooltips, while D3 ticks are customized with blue grid lines and axis labels.

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